← Back to team overview

openerp-community team mailing list archive

Re: Production Lot handling (New WMS. Call for testers)

 

Hi,

Following problems that I have been able to figured out.

1. Installation of only warehouse module works.

2. Clicking on the "Barcode" icon on warehouse dashboard returns

Uncaught TypeError: Cannot read property 'prototype' of null
http://0.0.0.0:8069/web/webclient/js?db=demo_v8_wms:3856


3. Installation with "stock_invoice_directly" ends up in view errors from
account_voucher.


Traceback (most recent call last):
  File "/home/erp/workspace_v8/trunk/server/openerp/http.py", line 321, in
dispatch
    response["result"] = self._call_function(**self.params)
  File "/home/erp/workspace_v8/trunk/server/openerp/http.py", line 194, in
_call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/erp/workspace_v8/trunk/server/openerp/service/model.py", line
111, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/erp/workspace_v8/trunk/server/openerp/http.py", line 189, in
checked_call
    return self.func(*a, **kw)
  File "/home/erp/workspace_v8/trunk/web/addons/web/controllers/main.py",
line 1119, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/erp/workspace_v8/trunk/web/addons/web/controllers/main.py",
line 1107, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr,
request.uid, *args, **kwargs)
  File
"/home/erp/workspace_v8/trunk/server/openerp/addons/base/module/module.py",
line 425, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids,
self.button_install, context=context)
  File
"/home/erp/workspace_v8/trunk/server/openerp/addons/base/module/module.py",
line 476, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname,
update_module=True)
  File "/home/erp/workspace_v8/trunk/server/openerp/modules/registry.py",
line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status,
update_module)
  File "/home/erp/workspace_v8/trunk/server/openerp/modules/loading.py",
line 334, in load_modules
    loaded_modules, update_module)
  File "/home/erp/workspace_v8/trunk/server/openerp/modules/loading.py",
line 237, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict,
report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/home/erp/workspace_v8/trunk/server/openerp/modules/loading.py",
line 168, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/home/erp/workspace_v8/trunk/server/openerp/modules/loading.py",
line 112, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate,
kind, report)
  File "/home/erp/workspace_v8/trunk/server/openerp/tools/convert.py", line
967, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/home/erp/workspace_v8/trunk/server/openerp/tools/convert.py", line
1053, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/erp/workspace_v8/trunk/server/openerp/tools/convert.py", line
921, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/erp/workspace_v8/trunk/server/openerp/tools/convert.py", line
850, in _tag_record
    id = self.pool['ir.model.data']._update(cr, self.uid, rec_model,
self.module, res, rec_id or False, not self.isnoupdate(data_node),
noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File
"/home/erp/workspace_v8/trunk/server/openerp/addons/base/ir/ir_model.py",
line 984, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File
"/home/erp/workspace_v8/trunk/server/openerp/addons/base/ir/ir_ui_view.py",
line 164, in create
    return super(view, self).create(cr, uid, values, context)
  File "/home/erp/workspace_v8/trunk/server/openerp/osv/orm.py", line 4056,
in create
    self._check_selection_field_value(cr, user, field, vals[field],
context=context)
  File "/home/erp/workspace_v8/trunk/server/openerp/osv/orm.py", line 2446,
in _check_selection_field_value
    _('The value "%s" for the field "%s.%s" is not in the selection') %
(value, self._table, field))
ParseError: "ValidateError
The value "tree_account_reconciliation" for the field "ir_ui_view.type" is
not in the selection" while parsing
/home/erp/workspace_v8/trunk/wms_addons/account/account_view.xml:1211, near
<record id="view_move_line_tree_reconcile" model="ir.ui.view">
            <field name="model">account.move.line</field>
            <field eval="24" name="priority"/>
            <field name="arch" type="xml">
                <tree_account_reconciliation colors="red:state ==
'draft';black:state == 'valid'" string="Journal Items to Reconcile"
create="false" version="7.0">
                    <field name="date"/>
                    <field name="move_id"/>
                    <field name="ref"/>
                    <field name="name"/>
                    <field name="partner_id"/>
                    <field name="account_id"/>
                    <field name="period_id" invisible="1"/>
                    <field name="journal_id" invisible="1"/>
                    <field name="reconcile_partial_id"/>
                    <field name="state" invisible="1"/>
                    <field name="debit" sum="Total debit"/>
                    <field name="credit" sum="Total credit"/>
                </tree_account_reconciliation>
            </field>
        </record>








On Mon, Jan 13, 2014 at 4:20 PM, Alexandre Fayolle <
alexandre.fayolle@xxxxxxxxxxxxxx> wrote:

> Hello,
>
> I'm having issues with production lot management in the new WMS, but
> maybe this is because I've missed something.
>
> To reproduce:
>
> 1. enable production lot / SN management in the wms configuration
> 2. enable multiple WH and locations in the wms configuration
> 3. configure the CARD product with full production lot tracking
> 4.  configure the main WH with 2 step delivery
>
> Then
> 5. create and confirm a Sale of 5 CARD for Luc Maurer
> 6. display the internal picking
>
> issues:
>
> a. display the internal picking, check availability (should be ok on a
> fresh db), click "Transfer Done" : an error message is displayed saying
> SN are required for CARD. Yet there is no way I can find to provide that
> information.
>
> b. click "Partial Transfer", then Edit. In the Quantities Done section,
> it is possible to provide information about SN. But there is no "split"
> button, enabling me to create 5 lines with qty 1 and different SN for
> the CARDS.
>
> c. For the sake of the test, create in the Quantities Done section 2
> lines with qty 1 and SN 001 and 002 respectively. Click on "create draft
> backorder" (not sure if this is required). Click Transfer Done. Display
> the Out picking related to the sale order. I'm expecting to see the SN
> propagated from the internal picking  to the outgoing picking, but it is
> not the case. What I get is a move with qty 2 (available) and a move
> with qty 3 (waiting availability), which means I have to enter the SN
> again to be able to process the picking.
>
>
> --
> Alexandre Fayolle
> Chef de Projet
> Tel : + 33 (0)4 79 26 57 94
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac Cedex
> http://www.camptocamp.com
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Thanks & Regards,
Parthiv Patel

References