mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-22 10:42:06 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<field name="location_dest_id" ref="stock.stock_location_stock"/>
|
||||
<field name="bom_id" ref="mrp.mrp_bom_drawer"/>
|
||||
<field name="create_date" eval="(datetime.now() - relativedelta(weeks=2)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
<field name="date_planned_start" eval="(datetime.now() - relativedelta(weeks=2)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
<field name="date_start" eval="(datetime.now() - relativedelta(weeks=2)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
</record>
|
||||
|
||||
<record id="mrp_production_drawer_3" model="mrp.production">
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
<field name="location_dest_id" ref="stock.stock_location_stock"/>
|
||||
<field name="bom_id" ref="mrp.mrp_bom_drawer"/>
|
||||
<field name="create_date" eval="(datetime.now() - relativedelta(weeks=1)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
<field name="date_planned_start" eval="(datetime.now() - relativedelta(weeks=1)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
<field name="date_start" eval="(datetime.now() - relativedelta(weeks=1)).strftime('%Y-%m-%d %H:%M:%S')"/>
|
||||
</record>
|
||||
|
||||
<function model="mrp.production" name="action_confirm" eval="[[
|
||||
|
|
@ -30,11 +30,11 @@
|
|||
|
||||
<function model="mrp.production" name="write">
|
||||
<value eval="[ref('mrp_account.mrp_production_drawer_2')]"/>
|
||||
<value eval="{'qty_producing': 5, 'lot_producing_id': ref('mrp.lot_product_27_0')}"/>
|
||||
<value eval="{'qty_producing': 5, 'lot_producing_ids': [ref('mrp.lot_product_27_0')]}"/>
|
||||
</function>
|
||||
<function model="mrp.production" name="write">
|
||||
<value eval="[ref('mrp_account.mrp_production_drawer_3')]"/>
|
||||
<value eval="{'qty_producing': 3, 'lot_producing_id': ref('mrp.lot_product_27_0')}"/>
|
||||
<value eval="{'qty_producing': 3, 'lot_producing_ids': [ref('mrp.lot_product_27_0')]}"/>
|
||||
</function>
|
||||
|
||||
<function model="mrp.production" name="action_assign">
|
||||
|
|
@ -44,11 +44,11 @@
|
|||
|
||||
<function model="stock.move" name="write">
|
||||
<value model="stock.move" eval="obj().env['stock.move'].search([('raw_material_production_id', '=', obj().env.ref('mrp_account.mrp_production_drawer_2').id)]).ids"/>
|
||||
<value eval="{'quantity_done': 5}"/>
|
||||
<value eval="{'quantity': 5}"/>
|
||||
</function>
|
||||
<function model="stock.move" name="write">
|
||||
<value model="stock.move" eval="obj().env['stock.move'].search([('raw_material_production_id', '=', obj().env.ref('mrp_account.mrp_production_drawer_3').id)]).ids"/>
|
||||
<value eval="{'quantity_done': 4}"/>
|
||||
<value eval="{'quantity': 4}"/>
|
||||
</function>
|
||||
|
||||
<function model="mrp.production" name="_post_inventory">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue