changes in xml
bzr revid: kum@tinyerp.co.in-20091123134757-eauk0167vvjegnvf
This commit is contained in:
parent
0576b8c667
commit
237263e89c
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<assert model="account.move" search="[]" string="For all account moves, the state is valid implies that the sum of credits equals the sum of debits">
|
||||
<assert model="account.move" search="[]" string="For all Ledger Postings, the state is valid implies that the sum of credits equals the sum of debits">
|
||||
<test expr="not len(line_id) or line_id[0].state != 'valid' or (sum([l.debit - l.credit for l in line_id]) <= 0.00001)"/>
|
||||
</assert>
|
||||
|
||||
|
|
|
@ -484,7 +484,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree5"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree5" id="menu_invoice_draft" parent="menu_action_invoice_tree1" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree5" id="menu_invoice_draft" parent="menu_action_invoice_tree1" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree6" model="ir.actions.act_window">
|
||||
<field name="name">PRO-FORMA Customer Invoices</field>
|
||||
|
@ -508,7 +508,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree6"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree6" id="menu_action_invoice_tree6" parent="menu_action_invoice_tree1" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree6" id="menu_action_invoice_tree6" parent="menu_action_invoice_tree1" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree7" model="ir.actions.act_window">
|
||||
<field name="name">Unpaid Customer Invoices</field>
|
||||
|
@ -532,7 +532,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree7"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree7" id="menu_action_invoice_tree7" parent="menu_action_invoice_tree1" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree7" id="menu_action_invoice_tree7" parent="menu_action_invoice_tree1" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree8" model="ir.actions.act_window">
|
||||
<field name="name">Draft Supplier Invoices</field>
|
||||
|
@ -556,7 +556,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree8"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree8" id="menu_action_invoice_tree8" parent="menu_action_invoice_tree2" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree8" id="menu_action_invoice_tree8" parent="menu_action_invoice_tree2" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree9" model="ir.actions.act_window">
|
||||
<field name="name">Unpaid Supplier Invoices</field>
|
||||
|
@ -580,7 +580,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree9"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree9" id="menu_action_invoice_tree9" parent="menu_action_invoice_tree2" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree9" id="menu_action_invoice_tree9" parent="menu_action_invoice_tree2" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree10" model="ir.actions.act_window">
|
||||
<field name="name">Draft Customer Refunds</field>
|
||||
|
@ -604,7 +604,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree10"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree10" id="menu_action_invoice_tree10" parent="menu_action_invoice_tree3" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree10" id="menu_action_invoice_tree10" parent="menu_action_invoice_tree3" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree11" model="ir.actions.act_window">
|
||||
<field name="name">Unpaid Customer Refunds</field>
|
||||
|
@ -628,7 +628,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree11"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree11" id="menu_action_invoice_tree11" parent="menu_action_invoice_tree3" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree11" id="menu_action_invoice_tree11" parent="menu_action_invoice_tree3" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree12" model="ir.actions.act_window">
|
||||
<field name="name">Draft Supplier Refunds</field>
|
||||
|
@ -652,7 +652,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree12"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree12" id="menu_action_invoice_tree12" parent="menu_action_invoice_tree4" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree12" id="menu_action_invoice_tree12" parent="menu_action_invoice_tree4" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_invoice_tree13" model="ir.actions.act_window">
|
||||
<field name="name">Unpaid Supplier Refunds</field>
|
||||
|
@ -676,7 +676,7 @@
|
|||
<field name="act_window_id" ref="action_invoice_tree13"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_invoice_tree13" id="menu_action_invoice_tree13" parent="menu_action_invoice_tree4" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_invoice_tree13" id="menu_action_invoice_tree13" parent="menu_action_invoice_tree4" groups="base.group_useability_extended"/>
|
||||
|
||||
<act_window domain="[('partner_id','=',active_id)]" id="act_res_partner_2_account_invoice_opened" name="Invoices" res_model="account.invoice" src_model="res.partner"/>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<menuitem id="menu_finance_legal_statement" name="Legal Statements" parent="account.menu_finance" sequence="8"/>
|
||||
<menuitem id="menu_generic_report" name="Generic Reports" parent="account.menu_finance_legal_statement" sequence="8"/>
|
||||
|
||||
<menuitem id="menu_finance_entries" name="Entries Encoding" parent="account.menu_finance" sequence="2"
|
||||
<menuitem id="menu_finance_entries" name="Making Entries" parent="account.menu_finance" sequence="2"
|
||||
groups="group_account_user"/>
|
||||
<menuitem id="account.menu_finance_recurrent_entries" name="Recurrent Entries" parent="account.menu_finance_entries" sequence="15"/>
|
||||
|
||||
|
|
|
@ -336,6 +336,7 @@
|
|||
<field name="date"/>
|
||||
<field name="ref"/>
|
||||
<field name="name"/>
|
||||
<field name="account_id"/>
|
||||
<field name="type"/>
|
||||
<field name="partner_id" on_change="onchange_partner_id(partner_id, type, parent.currency)"/>
|
||||
<field domain="[('journal_id','=',parent.journal_id)]" name="account_id"/>
|
||||
|
@ -346,6 +347,7 @@
|
|||
<form string="Statement lines">
|
||||
<field name="date"/>
|
||||
<field name="name"/>
|
||||
<field name="account_id"/>
|
||||
<field name="type"/>
|
||||
<field name="partner_id" on_change="onchange_partner_id(partner_id, type, parent.currency)"/>
|
||||
<field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name="account_id"/>
|
||||
|
@ -388,7 +390,7 @@
|
|||
<field name="domain">[('state','=','draft')]</field>
|
||||
<field name="filter" eval="True"/>
|
||||
</record>
|
||||
<menuitem action="action_bank_statement_draft_tree" id="menu_bank_statement_draft_tree" parent="account.menu_bank_statement_tree" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_bank_statement_draft_tree" id="menu_bank_statement_draft_tree" parent="account.menu_bank_statement_tree" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_bank_statement_tree2" model="ir.actions.act_window">
|
||||
<field name="name">New Statement</field>
|
||||
|
@ -653,7 +655,7 @@
|
|||
<field eval="True" name="object"/>
|
||||
</record>
|
||||
|
||||
<wizard id="action_move_journal_line_form" menu="False" model="account.move.line" name="account.move.journal" string="Entries Encoding by Line"/>
|
||||
<wizard id="action_move_journal_line_form" menu="False" model="account.move.line" name="account.move.journal" string="Making Entries by Line"/>
|
||||
<menuitem icon="STOCK_JUSTIFY_FILL" action="action_move_journal_line_form" id="menu_action_move_journal_line_form" parent="account.menu_finance_entries" type="wizard" sequence="5"/>
|
||||
|
||||
<!--
|
||||
|
@ -956,7 +958,7 @@
|
|||
<menuitem action="action_move_line_form" id="menu_action_move_line_form" parent="next_id_29"/>
|
||||
|
||||
<record id="action_move_line_form_encode_by_move" model="ir.actions.act_window">
|
||||
<field name="name">Entries Encoding by Move</field>
|
||||
<field name="name">Making Entries by Move</field>
|
||||
<field name="res_model">account.move</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
|
@ -1341,7 +1343,7 @@
|
|||
<field name="domain">[('state','=','running')]</field>
|
||||
<field name="filter" eval="True"/>
|
||||
</record>
|
||||
<menuitem action="action_subscription_form_running" id="menu_action_subscription_form_running" parent="menu_action_subscription_form" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_subscription_form_running" id="menu_action_subscription_form_running" parent="menu_action_subscription_form" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_subscription_form_new" model="ir.actions.act_window">
|
||||
<field name="name">New Subscription</field>
|
||||
|
|
|
@ -85,10 +85,10 @@
|
|||
|
||||
|
||||
<!-- account.move validate -->
|
||||
<wizard id="wizard_validate_account_moves" menu="False" model="account.move" name="account.move.validate" string="Validate Account Moves"/>
|
||||
<wizard id="wizard_validate_account_moves" menu="False" model="account.move" name="account.move.validate" string="Validate Ledger Postings"/>
|
||||
<menuitem action="wizard_validate_account_moves" id="menu_validate_account_moves" parent="account.menu_finance_periodical_processing" type="wizard"/>
|
||||
|
||||
<wizard id="wizard_validate_account_moves_line" menu="True" model="account.move.line" name="account.move_line.validate" string="Validate Account Moves"/>
|
||||
<wizard id="wizard_validate_account_moves_line" menu="True" model="account.move.line" name="account.move_line.validate" string="Validate Ledger Postings"/>
|
||||
|
||||
<!-- Use Models -->
|
||||
<wizard string="Create Entries From Models" model="account.model" name="account_use_models" menu="False" id="wizard_account_use_model"/>
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Manually statement"""" name="name"/>
|
||||
<field eval=""""Encode manually statement comes into the draft statement"""" name="note"/>
|
||||
<field eval=""""A statement with manual entries becomes a draft statement"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="process_node_draftstatement0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_manually0"/>
|
||||
</record>
|
||||
|
|
|
@ -183,7 +183,7 @@
|
|||
<field name="view_type">form</field>
|
||||
<field name="view_id" ref="view_account_analytic_line_tree"/>
|
||||
</record>
|
||||
<wizard id="action_account_analytic_line" menu="False" model="account.analytic.line" name="account.analytic.line" string="Entries Encoding by Line"/>
|
||||
<wizard id="action_account_analytic_line" menu="False" model="account.analytic.line" name="account.analytic.line" string="Making Entries by Line"/>
|
||||
<menuitem id="next_id_41" name="Analytic Entries" parent="account.menu_finance_entries"/>
|
||||
<menuitem type="wizard" icon="STOCK_JUSTIFY_FILL" action="action_account_analytic_line" id="account_entries_analytic_entries" parent="next_id_41"/>
|
||||
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
<hpaned position="100">
|
||||
<child1>
|
||||
<action colspan="4" height="200" name="%(mrp.mrp_production_action2)d" string="Next production orders" width="510"/>
|
||||
<action colspan="4" name="%(stock.action_picking_tree2)d" string="Deliveries (Out packing)"/>
|
||||
<action colspan="4" name="%(mrp.mrp_procurement_action4)d" string="Procurement in Exception"/>
|
||||
<action colspan="4" name="%(stock.action_picking_tree2)d" string="Deliveries (Out picking)"/>
|
||||
<action colspan="4" name="%(mrp.mrp_procurement_action4)d" string=" Requisition in Exception"/>
|
||||
</child1>
|
||||
|
||||
|
||||
<child2>
|
||||
<action colspan="4" name="%(report_mrp.action_report_workcenter_load_tree)d" string="Workcenter futur load"/>
|
||||
<action colspan="4" name="%(report_mrp.action_report_workcenter_load_tree)d" string="Workcenter future load"/>
|
||||
|
||||
<action colspan="4" name="%(report_mrp.action_report_in_out_picking_tree)d" string="Stock value variation"/>
|
||||
</child2>
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
</record>
|
||||
|
||||
<record id="action_picking_tree4" model="ir.actions.act_window">
|
||||
<field name="name">Packing to be invoiced</field>
|
||||
<field name="name">Picking to be invoiced</field>
|
||||
<field name="res_model">stock.picking</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="view_type">form</field>
|
||||
|
|
|
@ -786,7 +786,7 @@
|
|||
<menuitem action="mrp_procurement_action3" id="menu_mrp_procurement_action3" parent="mrp.menu_mrp_procurement_action" groups="base.group_extended_menu"/>
|
||||
|
||||
<record id="mrp_procurement_action5" model="ir.actions.act_window">
|
||||
<field name="name">Exceptions Procurements</field>
|
||||
<field name="name">Procurement Exceptions</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrp.procurement</field>
|
||||
<field name="view_type">form</field>
|
||||
|
@ -796,7 +796,7 @@
|
|||
<menuitem action="mrp_procurement_action5" id="menu_mrp_procurement_action5" parent="menu_mrp_reordering" groups="base.group_extended_menu"/>
|
||||
|
||||
<record id="mrp_procurement_action4" model="ir.actions.act_window">
|
||||
<field name="name">Exceptions Procurements to Fix</field>
|
||||
<field name="name">Procurement Exceptions to Fix</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrp.procurement</field>
|
||||
<field name="view_type">form</field>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
-->
|
||||
|
||||
<record id="process_process_procurementprocess0" model="process.process">
|
||||
<field eval=""""Procurement Process"""" name="name"/>
|
||||
<field eval="""" Requisition Process"""" name="name"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval="1" name="active"/>
|
||||
</record>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval=""""subflow"""" name="kind"/>
|
||||
<field eval=""""If Product type is service"""" name="note"/>
|
||||
<field eval=""""Service Product"""" name="name"/>
|
||||
<field eval=""""Service"""" name="name"/>
|
||||
<field name="process_id" ref="mrp.process_process_serviceproductprocess0"/>
|
||||
<field name="subflow_id" ref="process_process_procurementprocess0"/>
|
||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
||||
|
@ -44,7 +44,7 @@
|
|||
<field name="menu_id" ref="mrp.menu_mrp_production_action"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_production"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Procurement for raw materials."""" name="note"/>
|
||||
<field eval="""" Requisition for raw materials."""" name="note"/>
|
||||
<field eval=""""Production Order"""" name="name"/>
|
||||
<field name="process_id" ref="process_process_procurementprocess0"/>
|
||||
<field eval=""""object.state in ('draft', 'picking_except', 'confirmed', 'ready', 'in_production', 'cancel', 'done')"""" name="model_states"/>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<field name="menu_id" ref="mrp.menu_action_orderpoint_form"/>
|
||||
<field name="model_id" ref="mrp.model_stock_warehouse_orderpoint"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Procurement is created if the product quantity is lower than the minimum limit."""" name="note"/>
|
||||
<field eval="""" Requisition is created if the product quantity is lower than the minimum limit."""" name="note"/>
|
||||
<field eval=""""Minimum Stock Rule"""" name="name"/>
|
||||
<field name="process_id" ref="process_process_procurementprocess0"/>
|
||||
<field eval="1" name="flow_start"/>
|
||||
|
@ -65,7 +65,7 @@
|
|||
<field name="menu_id" ref="mrp.menu_mrp_procurement_action"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Central document to procure products"""" name="note"/>
|
||||
<field eval=""""Central document to Requisition of products"""" name="note"/>
|
||||
<field eval=""""Procure Products"""" name="name"/>
|
||||
<field name="process_id" ref="process_process_procurementprocess0"/>
|
||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
||||
|
@ -89,7 +89,7 @@
|
|||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval=""""subflow"""" name="kind"/>
|
||||
<field eval=""""If Product type is service"""" name="note"/>
|
||||
<field eval=""""Service Product"""" name="name"/>
|
||||
<field eval=""""Service"""" name="name"/>
|
||||
<field name="subflow_id" ref="process_process_serviceproductprocess0"/>
|
||||
<field name="process_id" ref="process_process_procurementprocess0"/>
|
||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
||||
|
@ -100,8 +100,8 @@
|
|||
<field name="menu_id" ref="mrp.menu_mrp_procurement_action"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval=""""subflow"""" name="kind"/>
|
||||
<field eval=""""Procurements"""" name="name"/>
|
||||
<field eval=""""Procurement orders"""" name="note"/>
|
||||
<field eval="""" Requisitions"""" name="name"/>
|
||||
<field eval="""" Requisition orders"""" name="note"/>
|
||||
<field name="subflow_id" ref="process_process_procurementprocess0"/>
|
||||
<field name="process_id" ref="purchase.process_process_purchaseprocess0"/>
|
||||
<field eval="1" name="flow_start"/>
|
||||
|
@ -145,7 +145,7 @@
|
|||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Serivce Stockable Order"""" name="name"/>
|
||||
<field eval=""""If product type is service and procure method is Make to order"""" name="note"/>
|
||||
<field eval=""""If product type is service and requisition method is Make to order"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="mrp.process_node_serviceonorder0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_serviceproduct1"/>
|
||||
</record>
|
||||
|
@ -154,7 +154,7 @@
|
|||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Service Make to Stock"""" name="name"/>
|
||||
<field eval=""""If Product type is service and procure method is Make to stock"""" name="note"/>
|
||||
<field eval=""""If Product type is service and requisition method is Make to stock"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="mrp.process_node_servicemts0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_serviceproduct1"/>
|
||||
</record>
|
||||
|
@ -163,7 +163,7 @@
|
|||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Stockable Make to Stock"""" name="name"/>
|
||||
<field eval=""""If Product type is Stockable and procure method is make to stock"""" name="note"/>
|
||||
<field eval=""""If Product type is Stockable and requisition method is make to stock"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="mrp.process_node_mts0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_stockproduct1"/>
|
||||
</record>
|
||||
|
@ -172,7 +172,7 @@
|
|||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Stockable Product Stock"""" name="name"/>
|
||||
<field eval=""""Product type is Stockable and procure method is make to stock"""" name="note"/>
|
||||
<field eval=""""Product type is Stockable and Requisition method is make to stock"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="mrp.process_node_stock0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_stockproduct1"/>
|
||||
</record>
|
||||
|
@ -180,7 +180,7 @@
|
|||
<record id="process_transition_productionprocureproducts0" model="process.transition">
|
||||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Production Procure Products"""" name="name"/>
|
||||
<field eval=""""Production Requisition Products"""" name="name"/>
|
||||
<field eval=""""When any procuere products, it comes into the prpcurement orders"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="process_node_procureproducts0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_productionorder0"/>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
-->
|
||||
|
||||
<record id="process_process_serviceproductprocess0" model="process.process">
|
||||
<field eval=""""Service Product Process"""" name="name"/>
|
||||
<field eval=""""Service Process"""" name="name"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval="1" name="active"/>
|
||||
</record>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<field name="menu_id" ref="mrp.menu_mrp_procurement_action"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_procurement"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""The system waits for requested products in stock."""" name="note"/>
|
||||
<field eval=""""The systems awaits requests for products in stock."""" name="note"/>
|
||||
<field eval=""""Make to Stock"""" name="name"/>
|
||||
<field name="process_id" ref="process_process_stockableproductprocess0"/>
|
||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<field name="menu_id" ref="mrp.menu_mrp_production_action"/>
|
||||
<field name="model_id" ref="mrp.model_mrp_production"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Production orders are created for the product manufacturing."""" name="note"/>
|
||||
<field eval=""""Production orders are created for product manufacturing."""" name="note"/>
|
||||
<field eval=""""Production Order"""" name="name"/>
|
||||
<field name="process_id" ref="process_process_stockableproductprocess0"/>
|
||||
<field eval=""""object.state=='confirmed'"""" name="model_states"/>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
</record>
|
||||
|
||||
<record id="node_packing" model="process.node">
|
||||
<field name="name">Packing List</field>
|
||||
<field name="name">Picking List</field>
|
||||
<field name="note">The workers pack the requested items</field>
|
||||
<field name="model_id" model="ir.model" search="[('name', '=', 'Packing list')]"></field>
|
||||
<field name="menu_id" model="ir.ui.menu" search="[('name', '=', 'Packing to Process')]"></field>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</record>
|
||||
|
||||
<record id="transition_packing" model="process.transition">
|
||||
<field name="name">Packing</field>
|
||||
<field name="name">Picking</field>
|
||||
<field name="source_node_id" ref="node_sale_order"></field>
|
||||
<field name="target_node_id" ref="node_packing"></field>
|
||||
</record>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<field name="menu_id" ref="stock.menu_picking_waiting"/>
|
||||
<field name="model_id" ref="stock.model_stock_picking"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Out Packing"""" name="name"/>
|
||||
<field eval=""""Out Picking"""" name="name"/>
|
||||
<field eval=""""Invoice based on deliveries"""" name="note"/>
|
||||
<field name="process_id" ref="account.process_process_invoiceprocess0"/>
|
||||
<field eval=""""object.state in ('assigned', 'confirmed')"""" name="model_states"/>
|
||||
|
@ -100,7 +100,7 @@
|
|||
<field name="model_id" ref="stock.model_stock_picking"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Incoming Products"""" name="name"/>
|
||||
<field eval=""""Packing is created for the products reception control."""" name="note"/>
|
||||
<field eval=""""Picking is created for the products reception control."""" name="note"/>
|
||||
<field name="process_id" ref="process_process_purchaseprocess0"/>
|
||||
<field eval=""""object.state=='assigned'"""" name="model_states"/>
|
||||
<field eval="0" name="flow_start"/>
|
||||
|
@ -214,8 +214,8 @@
|
|||
<record id="process_transition_createpackinglist0" model="process.transition">
|
||||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Create Packing list"""" name="name"/>
|
||||
<field eval=""""When purchase order is approved , it creates its packing list."""" name="note"/>
|
||||
<field eval=""""Create Picking list"""" name="name"/>
|
||||
<field eval=""""When purchase order is approved , it creates its picking list."""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="process_node_packinglist0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_approvepurchaseorder0"/>
|
||||
</record>
|
||||
|
@ -223,7 +223,7 @@
|
|||
<record id="process_transition_invoicefrompackinglist0" model="process.transition">
|
||||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Invoice from Packing list"""" name="name"/>
|
||||
<field eval=""""Invoice from Picking list"""" name="name"/>
|
||||
<field eval=""""Creates invoice from packin list"""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="process_node_invoiceafterpacking0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_packinglist0"/>
|
||||
|
@ -241,8 +241,8 @@
|
|||
<record id="process_transition_packinginvoice0" model="process.transition">
|
||||
<field eval="[(6,0,[])]" name="role_ids"/>
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Packing Invoice"""" name="name"/>
|
||||
<field eval=""""From Packing list, Create invoice."""" name="note"/>
|
||||
<field eval=""""Picking Invoice"""" name="name"/>
|
||||
<field eval=""""From Picking list, Create invoice."""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="account.process_node_draftinvoices0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_packinginvoice0"/>
|
||||
</record>
|
||||
|
|
|
@ -112,11 +112,11 @@
|
|||
</assert>
|
||||
|
||||
<!-- Treat generated picking -->
|
||||
<assert model="purchase.order" id="test_purchase_1" string="Test purchase has now a corresponding packing" severity="fatal">
|
||||
<assert model="purchase.order" id="test_purchase_1" string="Test purchase has now a corresponding picking" severity="fatal">
|
||||
<test expr="len(picking_ids) == 1" />
|
||||
</assert>
|
||||
|
||||
<assert model="purchase.order" id="test_purchase_1" string="Test purchase's packing will be sent to the good address" severity="error">
|
||||
<assert model="purchase.order" id="test_purchase_1" string="Test purchase's picking will be sent to the good address" severity="error">
|
||||
<test expr="picking_ids[0].address_id == partner_address_id" />
|
||||
</assert>
|
||||
|
||||
|
@ -129,7 +129,7 @@
|
|||
<value model="purchase.order" eval="obj(ref('test_purchase_1')).picking_ids[0].id" />
|
||||
</workflow>
|
||||
|
||||
<assert model="purchase.order" id="test_purchase_1" string="Test purchase's packing is now done" severity="error">
|
||||
<assert model="purchase.order" id="test_purchase_1" string="Test purchase's picking is now done" severity="error">
|
||||
<test expr="picking_ids[0].state">done</test>
|
||||
</assert>
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
<field name="filter" eval="True"/>
|
||||
<field name="search_view_id" ref="view_purchase_order_filter"/>
|
||||
</record>
|
||||
<menuitem action="purchase_form_action2" id="menu_purchase_order_draft" parent="purchase.menu_purchase_form_action" groups="base.group_extended_menu"/>
|
||||
<menuitem action="purchase_form_action2" id="menu_purchase_order_draft" parent="purchase.menu_purchase_form_action" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="purchase_form_action3" model="ir.actions.act_window">
|
||||
<field name="name">Purchase Order Waiting Approval</field>
|
||||
|
@ -163,7 +163,7 @@
|
|||
<field name="filter" eval="True"/>
|
||||
<field name="search_view_id" ref="view_purchase_order_filter"/>
|
||||
</record>
|
||||
<menuitem action="purchase_form_action3" id="menu_purchase_form_action3" parent="purchase.menu_purchase_form_action" groups="base.group_extended_menu"/>
|
||||
<menuitem action="purchase_form_action3" id="menu_purchase_form_action3" parent="purchase.menu_purchase_form_action" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="purchase_form_action4" model="ir.actions.act_window">
|
||||
<field name="name">Purchase Orders in Progress</field>
|
||||
|
@ -175,7 +175,7 @@
|
|||
<field name="filter" eval="True"/>
|
||||
<field name="search_view_id" ref="view_purchase_order_filter"/>
|
||||
</record>
|
||||
<menuitem action="purchase_form_action4" id="menu_purchase_form_action4" parent="purchase.menu_purchase_form_action" groups="base.group_extended_menu"/>
|
||||
<menuitem action="purchase_form_action4" id="menu_purchase_form_action4" parent="purchase.menu_purchase_form_action" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="purchase_form_action_new" model="ir.actions.act_window">
|
||||
<field name="name">New Purchase Order</field>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<data>
|
||||
|
||||
<record id="stock_picking_inherit_purchase" model="ir.ui.view">
|
||||
<field name="name">Packing list</field>
|
||||
<field name="name">Picking list</field>
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="stock.view_picking_form"/>
|
||||
|
@ -17,7 +17,7 @@
|
|||
<act_window
|
||||
domain="[('purchase_id', '=', active_id)]"
|
||||
id="act_purchase_order_2_stock_picking"
|
||||
name="Packing"
|
||||
name="Picking"
|
||||
res_model="stock.picking"
|
||||
src_model="purchase.order"/>
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
<field name="model_id" ref="stock.model_stock_picking"/>
|
||||
<field eval=""""state"""" name="kind"/>
|
||||
<field eval=""""Outgoing Products"""" name="name"/>
|
||||
<field eval=""""Packing OUT is created for stockable products."""" name="note"/>
|
||||
<field eval=""""Picking OUT is created for stockable products."""" name="note"/>
|
||||
<field name="process_id" ref="process_process_salesprocess0"/>
|
||||
<field eval=""""object.state in ('assigned', 'confirmed')"""" name="model_states"/>
|
||||
<field eval="0" name="flow_start"/>
|
||||
|
@ -113,7 +113,7 @@
|
|||
<field name="model_id" ref="account.model_account_invoice"/>
|
||||
<field eval=""""subflow"""" name="kind"/>
|
||||
<field eval=""""Draft Invoice"""" name="name"/>
|
||||
<field eval=""""Invoice based on packing lists"""" name="note"/>
|
||||
<field eval=""""Invoice based on picking lists"""" name="note"/>
|
||||
<field name="process_id" ref="process_process_salesprocess0"/>
|
||||
<field name="subflow_id" ref="account.process_process_invoiceprocess0"/>
|
||||
<field eval=""""object.state=='draft'"""" name="model_states"/>
|
||||
|
@ -166,8 +166,8 @@
|
|||
|
||||
<record id="process_transition_packing0" model="process.transition">
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Packing"""" name="name"/>
|
||||
<field eval=""""Packing list is created when 'Assign' is being clicked after confirming the sale order. This transaction moves the sale order to packing list."""" name="note"/>
|
||||
<field eval=""""Picking"""" name="name"/>
|
||||
<field eval=""""Picking list is created when 'Assign' is being clicked after confirming the sale order. This transaction moves the sale order to picking list."""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="process_node_packinglist0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_saleprocurement0"/>
|
||||
</record>
|
||||
|
@ -175,7 +175,7 @@
|
|||
<record id="process_transition_deliver0" model="process.transition">
|
||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
||||
<field eval=""""Deliver"""" name="name"/>
|
||||
<field eval=""""Confirming the packing list moves them to delivery order. This can be done by clicking on 'Validate' button."""" name="note"/>
|
||||
<field eval=""""Confirming the picking list moves them to delivery order. This can be done by clicking on 'Validate' button."""" name="note"/>
|
||||
<field model="process.node" name="target_node_id" ref="process_node_deliveryorder0"/>
|
||||
<field model="process.node" name="source_node_id" ref="process_node_packinglist0"/>
|
||||
</record>
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
</assert>
|
||||
|
||||
<!-- Treat generated picking -->
|
||||
<assert id="test_order_1" model="sale.order" severity="fatal" string="the sale order has now a correspending packing">
|
||||
<assert id="test_order_1" model="sale.order" severity="fatal" string="the sale order has now a correspending picking">
|
||||
<test expr="len(picking_ids) == 1"/>
|
||||
</assert>
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<report auto="False" id="report_product_history" model="product.product" name="stock.product.history" string="Future Stock Forecast"/>
|
||||
|
||||
|
||||
<!-- <report id="report_picking_list" model="stock.picking" name="stock.picking.list" string="Packing list" xml="stock/report/picking.xml" xsl="stock/report/picking.xsl"/>-->
|
||||
<report id="report_picking_list" model="stock.picking" name="stock.picking.list" string="Packing list" rml="stock/report/picking.rml"/>
|
||||
<!-- <report id="report_picking_list" model="stock.picking" name="stock.picking.list" string="Picking list" xml="stock/report/picking.xml" xsl="stock/report/picking.xsl"/>-->
|
||||
<report id="report_picking_list" model="stock.picking" name="stock.picking.list" string="Picking list" rml="stock/report/picking.rml"/>
|
||||
<report id="report_move_labels" model="stock.move" name="stock.move.label" string="Print Item Labels" xml="stock/report/lot_move_label.xml" xsl="stock/report/lot_move_label.xsl"/>
|
||||
|
||||
<report auto="False" id="report_location_overview" model="stock.location" name="lot.stock.overview" string="Location Overview" rml="stock/report/lot_overview.rml"/>
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<field name="domain">[('state','=','draft')]</field>
|
||||
<field name="filter" eval="True"/>
|
||||
</record>
|
||||
<menuitem action="action_inventory_form_draft" id="menu_action_inventory_form_draft" parent="menu_action_inventory_form" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_inventory_form_draft" id="menu_action_inventory_form_draft" parent="menu_action_inventory_form" groups="base.group_useability_extended"/>
|
||||
<record id="action_inventory_form_new" model="ir.actions.act_window">
|
||||
<field name="name">New Periodical Inventory</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
|
@ -568,7 +568,7 @@
|
|||
</field>
|
||||
<group col="7" colspan="4">
|
||||
<label colspan="6"/>
|
||||
<button name="%(move_split)d" string="Split move lines in two" type="action" icon="gtk-justify-fill"/>
|
||||
<button name="%(move_split)d" string="Split Entry Lines in two" type="action" icon="gtk-justify-fill"/>
|
||||
</group>
|
||||
<group col="10" colspan="4">
|
||||
<field name="state" readonly="1"/>
|
||||
|
@ -767,7 +767,7 @@
|
|||
<field name="view_mode">calendar</field>
|
||||
<field name="act_window_id" ref="action_picking_tree2_delivery"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree2_delivery" id="menu_picking_waiting_delivery" parent="menu_action_picking_tree_delivery" groups="base.group_extended_menu" />
|
||||
<menuitem action="action_picking_tree2_delivery" id="menu_picking_waiting_delivery" parent="menu_action_picking_tree_delivery" groups="base.group_useability_extended" />
|
||||
|
||||
<record id="action_picking_tree3_delivery" model="ir.actions.act_window">
|
||||
<field name="name">Future Delivery Orders</field>
|
||||
|
@ -797,7 +797,7 @@
|
|||
<field name="view_mode">calendar</field>
|
||||
<field name="act_window_id" ref="action_picking_tree3_delivery"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree3_delivery" id="menu_action_picking_tree3_delivery" parent="menu_action_picking_tree_delivery" groups="base.group_extended_menu" />
|
||||
<menuitem action="action_picking_tree3_delivery" id="menu_action_picking_tree3_delivery" parent="menu_action_picking_tree_delivery" groups="base.group_useability_extended" />
|
||||
|
||||
<record id="action_picking_calendar_delivery" model="ir.actions.act_window">
|
||||
<field name="name">Calendar of Deliveries</field>
|
||||
|
@ -808,7 +808,7 @@
|
|||
<field name="domain">[('state','=','assigned'),('type','=','delivery')]</field>
|
||||
<field name="context">{'contact_display': 'partner'}</field>
|
||||
</record>
|
||||
<menuitem action="action_picking_calendar_delivery" id="menu_picking_calendar_delivery" parent="menu_action_picking_tree_delivery" groups="base.group_extended_menu" />
|
||||
<menuitem action="action_picking_calendar_delivery" id="menu_picking_calendar_delivery" parent="menu_action_picking_tree_delivery" groups="base.group_useability_extended" />
|
||||
|
||||
#
|
||||
# Sending Products
|
||||
|
@ -966,7 +966,7 @@
|
|||
<field name="view_mode">calendar</field>
|
||||
<field name="act_window_id" ref="action_picking_tree2"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree2" id="menu_picking_waiting" parent="menu_action_picking_tree" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_picking_tree2" id="menu_picking_waiting" parent="menu_action_picking_tree" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_picking_tree3" model="ir.actions.act_window">
|
||||
<field name="name">Confirmed Packing Waiting Availability</field>
|
||||
|
@ -996,7 +996,7 @@
|
|||
<field name="view_mode">calendar</field>
|
||||
<field name="act_window_id" ref="action_picking_tree3"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree3" id="menu_action_picking_tree3" parent="menu_action_picking_tree" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_picking_tree3" id="menu_action_picking_tree3" parent="menu_action_picking_tree" groups="base.group_useability_extended"/>
|
||||
|
||||
#
|
||||
# Reception of Products
|
||||
|
@ -1156,7 +1156,7 @@
|
|||
<field name="view_mode">calendar</field>
|
||||
<field name="act_window_id" ref="action_picking_tree5"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree5" id="menu_action_picking_tree5" parent="menu_action_picking_tree4" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_picking_tree5" id="menu_action_picking_tree5" parent="menu_action_picking_tree4" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_picking_form" model="ir.actions.act_window">
|
||||
<field name="name">New Reception Packing</field>
|
||||
|
@ -1211,7 +1211,7 @@
|
|||
<field name="filter" eval="True"/>
|
||||
<field name="search_view_id" ref="view_stock_delivery_filter"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree7" id="menu_action_picking_tree7" parent="menu_action_picking_tree6" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_picking_tree7" id="menu_action_picking_tree7" parent="menu_action_picking_tree6" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_picking_tree8" model="ir.actions.act_window">
|
||||
<field name="name">Confirmed Packing Waiting Availability</field>
|
||||
|
@ -1224,7 +1224,7 @@
|
|||
<field name="filter" eval="True"/>
|
||||
<field name="search_view_id" ref="view_stock_delivery_filter"/>
|
||||
</record>
|
||||
<menuitem action="action_picking_tree8" id="menu_action_picking_tree8" parent="menu_action_picking_tree6" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_picking_tree8" id="menu_action_picking_tree8" parent="menu_action_picking_tree6" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_picking_tree9" model="ir.actions.act_window">
|
||||
<field name="name">New Internal Packing</field>
|
||||
|
@ -1327,7 +1327,7 @@
|
|||
<field name="view_id" ref="view_move_tree"/>
|
||||
<field name="filter" eval="True"/>
|
||||
</record>
|
||||
<menuitem action="action_move_form3" id="menu_action_move_form3" parent="menu_action_move_form2" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_move_form3" id="menu_action_move_form3" parent="menu_action_move_form2" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_move_form4" model="ir.actions.act_window">
|
||||
<field name="name">Available Moves</field>
|
||||
|
@ -1338,7 +1338,7 @@
|
|||
<field name="view_id" ref="view_move_tree"/>
|
||||
<field name="filter" eval="True"/>
|
||||
</record>
|
||||
<menuitem action="action_move_form4" id="menu_action_move_form4" parent="menu_action_move_form2" groups="base.group_extended_menu"/>
|
||||
<menuitem action="action_move_form4" id="menu_action_move_form4" parent="menu_action_move_form2" groups="base.group_useability_extended"/>
|
||||
|
||||
<record id="action_picking_all" model="ir.actions.act_window">
|
||||
<field name="name">Packing</field>
|
||||
|
|
Loading…
Reference in New Issue