[REM] removed old conflicting files badly merged (?)
bzr revid: qdp-launchpad@openerp.com-20140508143825-owheu6q219d8qbww
This commit is contained in:
parent
6b37db4336
commit
168b8e1d5e
|
@ -1,227 +0,0 @@
|
||||||
<?xml version="1.0" ?>
|
|
||||||
<openerp>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
|
|
||||||
<record id="process_node_productionorder0" model="process.node">
|
|
||||||
<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=""""Drives the procurement orders for raw material."""" name="note"/>
|
|
||||||
<field eval=""""Production Order"""" name="name"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'picking_except', 'confirmed', 'ready', 'in_production', 'cancel', 'done')"""" name="model_states"/>
|
|
||||||
<field eval="1" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
|
|
||||||
<record id="process_node_minimumstockrule0" model="process.node">
|
|
||||||
<field name="menu_id" ref="procurement.menu_stock_order_points"/>
|
|
||||||
<field name="model_id" ref="procurement.model_stock_warehouse_orderpoint"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Linked to the 'Minimum stock rule' supplying method."""" name="note"/>
|
|
||||||
<field eval=""""Minimum Stock"""" name="name"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval="1" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_stockproduct0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""Product type is Stockable or Consumable."""" name="note"/>
|
|
||||||
<field eval=""""Stockable Product"""" name="name"/>
|
|
||||||
<field name="subflow_id" ref="process_process_stockableproductprocess0"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_stockproduct1" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""For stockable products and consumables"""" name="note"/>
|
|
||||||
<field eval=""""Stockable Product"""" name="name"/>
|
|
||||||
<field name="process_id" ref="mrp.process_process_stockableproductprocess0"/>
|
|
||||||
<field name="subflow_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
|
||||||
<field eval="1" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_serviceproduct0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""Product type is service"""" name="note"/>
|
|
||||||
<field eval=""""Service"""" name="name"/>
|
|
||||||
<field name="subflow_id" ref="procurement.process_process_serviceproductprocess0"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_serviceproduct1" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""For Services."""" name="note"/>
|
|
||||||
<field eval=""""Service"""" name="name"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_serviceproductprocess0"/>
|
|
||||||
<field name="subflow_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
|
||||||
<field eval="1" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_purchaseprocure0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""Procurement Orders"""" name="name"/>
|
|
||||||
<field eval=""""For purchased material"""" name="note"/>
|
|
||||||
<field name="subflow_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field name="process_id" ref="purchase.process_process_purchaseprocess0"/>
|
|
||||||
<field eval="1" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_productminimumstockrule0" model="process.node">
|
|
||||||
<field name="menu_id" ref="procurement.menu_stock_order_points"/>
|
|
||||||
<field name="model_id" ref="procurement.model_stock_warehouse_orderpoint"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Minimum Stock"""" name="name"/>
|
|
||||||
<field eval=""""Automatic procurement rule"""" name="note"/>
|
|
||||||
<field name="process_id" ref="product.process_process_productprocess0"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_routing0" model="process.node">
|
|
||||||
<field name="menu_id" ref="mrp.menu_mrp_routing_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_mrp_routing"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Routing"""" name="name"/>
|
|
||||||
<field eval=""""Manufacturing Steps."""" name="note"/>
|
|
||||||
<field name="process_id" ref="product.process_process_productprocess0"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_billofmaterial0" model="process.node">
|
|
||||||
<field name="menu_id" ref="mrp.menu_mrp_bom_form_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_mrp_bom"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Bill of Material"""" name="name"/>
|
|
||||||
<field eval=""""Product's structure"""" name="note"/>
|
|
||||||
<field name="process_id" ref="product.process_process_productprocess0"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Process Transition
|
|
||||||
-->
|
|
||||||
<record id="process_node_procureproducts0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""The way to procurement depends on the product type."""" name="note"/>
|
|
||||||
<field eval=""""Procure Products"""" name="name"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_procurementprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
<record id="process_transition_servicemto0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Make to Order"""" name="name"/>
|
|
||||||
<field eval=""""If the service has a 'Produce' supply method, this creates a task in the project management module of OpenERP."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="procurement.process_node_serviceonorder0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_serviceproduct1"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_servicemts0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Make to Stock"""" name="name"/>
|
|
||||||
<field eval=""""This is used in case of a service without any impact in the system, a training session for instance."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="mrp.process_node_servicemts0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_serviceproduct1"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_stockmts0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Make to Stock"""" name="name"/>
|
|
||||||
<field eval=""""The system waits for the products to be available in the stock. These products are typically procured manually or through a minimum stock rule."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="mrp.process_node_mts0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_stockproduct1"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_stockproduct0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Make to Order"""" name="name"/>
|
|
||||||
<field eval=""""The system creates an order (production or purchased) depending on the sold quantity and the products parameters."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="mrp.process_node_stock0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_stockproduct1"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_productionprocureproducts0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Procurement of raw material"""" name="name"/>
|
|
||||||
<field eval=""""In order to supply raw material (to be purchased or produced), the production order creates as much procurement orders as components listed in the BOM, through a run of the schedulers (MRP)."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_procureproducts0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_productionorder0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_minimumstockprocure0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""'Minimum stock rule' material"""" name="name"/>
|
|
||||||
<field eval=""""The 'Minimum stock rule' allows the system to create procurement orders automatically as soon as the minimum stock is reached."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_procureproducts0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_minimumstockrule0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_procurestockableproduct0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Procurement of stockable Products"""" name="name"/>
|
|
||||||
<field eval=""""Depending on the chosen method to supply the stockable products, the procurement order creates a RFQ, a production order, ... """" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_stockproduct0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_procureproducts0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_procureserviceproduct0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Procurement of services"""" name="name"/>
|
|
||||||
<field eval=""""Depending on the chosen method to 'supply' the service, the procurement order creates a RFQ for a subcontracting purchase order or waits until the service is done (= the delivery of the products)."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_serviceproduct0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_procureproducts0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_purchaseprocure0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Automatic RFQ"""" name="name"/>
|
|
||||||
<field eval=""""The system launches automatically a RFQ to the preferred supplier."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="purchase.process_node_draftpurchaseorder0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_purchaseprocure0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_producttostockrules0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Procurement rule"""" name="name"/>
|
|
||||||
<field eval=""""The Minimum Stock Rule is an automatic procurement rule based on a mini and maxi quantity. It's available in the Inventory management menu and configured by product."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_productminimumstockrule0"/>
|
|
||||||
<field name="source_node_id" ref="product.process_node_product0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_billofmaterialrouting0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Material Routing"""" name="name"/>
|
|
||||||
<field eval=""""The Bill of Material is linked to a routing, i.e. the succession of work centers."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_routing0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_billofmaterial0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_transition_bom0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""Manufacturing decomposition"""" name="name"/>
|
|
||||||
<field eval=""""The Bill of Material is the product's decomposition. The components (that are products themselves) can also have their own Bill of Material (multi-level)."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_billofmaterial0"/>
|
|
||||||
<field name="source_node_id" ref="product.process_node_product0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
|
@ -1,47 +0,0 @@
|
||||||
<?xml version="1.0" ?>
|
|
||||||
<openerp>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Process Node
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<record id="process_node_servicemts0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Assignment from stock."""" name="note"/>
|
|
||||||
<field eval=""""Make to stock"""" name="name"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_serviceproductprocess0"/>
|
|
||||||
<field eval=""""object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_orderrfq0" model="process.node">
|
|
||||||
<field name="menu_id" ref="purchase.menu_purchase_form_action"/>
|
|
||||||
<field name="model_id" ref="purchase.model_purchase_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""Request for Quotation."""" name="note"/>
|
|
||||||
<field eval=""""RFQ"""" name="name"/>
|
|
||||||
<field name="subflow_id" ref="purchase.process_process_purchaseprocess0"/>
|
|
||||||
<field name="process_id" ref="procurement.process_process_serviceproductprocess0"/>
|
|
||||||
<field eval=""""object.state=='draft'"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Process Transition
|
|
||||||
-->
|
|
||||||
|
|
||||||
<record id="process_transition_servicerfq0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""To Buy"""" name="name"/>
|
|
||||||
<field eval=""""If the service has a 'Buy' supply method, this creates a RFQ, a subcontracting demand for instance."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_orderrfq0"/>
|
|
||||||
<field name="source_node_id" ref="procurement.process_node_serviceonorder0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
|
@ -1,85 +0,0 @@
|
||||||
<?xml version="1.0" ?>
|
|
||||||
<openerp>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Process
|
|
||||||
-->
|
|
||||||
|
|
||||||
<record id="process_process_stockableproductprocess0" model="process.process">
|
|
||||||
<field eval=""""Stockable Product"""" name="name"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval="1" name="active"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Process Node
|
|
||||||
-->
|
|
||||||
|
|
||||||
<record id="process_node_mts0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Assignment from 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"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="process_node_stock0" model="process.node">
|
|
||||||
<field name="menu_id" ref="stock.menu_stock_procurement_action"/>
|
|
||||||
<field name="model_id" ref="mrp.model_procurement_order"/>
|
|
||||||
<field eval=""""state"""" name="kind"/>
|
|
||||||
<field eval=""""Assignment from Production or Purchase Order."""" name="note"/>
|
|
||||||
<field eval=""""Make to Order"""" 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"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- <record id="process_node_rfq0" model="process.node">
|
|
||||||
<field name="menu_id" ref="purchase.menu_purchase_form_action"/>
|
|
||||||
<field name="model_id" ref="purchase.model_purchase_order"/>
|
|
||||||
<field eval=""""subflow"""" name="kind"/>
|
|
||||||
<field eval=""""Request for Quotation."""" name="note"/>
|
|
||||||
<field eval=""""RFQ"""" name="name"/>
|
|
||||||
<field name="subflow_id" ref="purchase.process_process_purchaseprocess0"/>
|
|
||||||
<field name="process_id" ref="process_process_stockableproductprocess0"/>
|
|
||||||
<field eval=""""object.state=='draft'"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>-->
|
|
||||||
|
|
||||||
<record id="process_node_production0" model="process.node">
|
|
||||||
<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=""""Manufacturing Plan."""" name="note"/>
|
|
||||||
<field eval=""""Production Order"""" name="name"/>
|
|
||||||
<field name="process_id" ref="process_process_stockableproductprocess0"/>
|
|
||||||
<field eval=""""object.state=='confirmed'"""" name="model_states"/>
|
|
||||||
<field eval="0" name="flow_start"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Process Transition
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- <record id="process_transition_stockrfq0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""To Buy"""" name="name"/>
|
|
||||||
<field eval=""""In case the Supply method of the product is Buy, the system creates a purchase order."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_rfq0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_stock0"/>
|
|
||||||
</record>-->
|
|
||||||
|
|
||||||
<record id="process_transition_stockproduction0" model="process.transition">
|
|
||||||
<field eval="[(6,0,[])]" name="transition_ids"/>
|
|
||||||
<field eval=""""To Produce"""" name="name"/>
|
|
||||||
<field eval=""""In case the Supply method of the product is Produce, the system creates a production order."""" name="note"/>
|
|
||||||
<field name="target_node_id" ref="process_node_production0"/>
|
|
||||||
<field name="source_node_id" ref="process_node_stock0"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
|
@ -1,170 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<document filename="test.pdf">
|
|
||||||
<template pageSize="(204.0,842.0)" title="Receipt" author="OpenERP S.A. (sales@openerp.com)" allowSplitting="20">
|
|
||||||
<pageTemplate id="first">
|
|
||||||
<frame id="first" x1="0.0" y1="0.0" width="204" height="800"/>
|
|
||||||
</pageTemplate>
|
|
||||||
</template>
|
|
||||||
<stylesheet>
|
|
||||||
<blockTableStyle id="Standard_Outline">
|
|
||||||
<blockAlignment value="LEFT"/>
|
|
||||||
<blockValign value="TOP"/>
|
|
||||||
</blockTableStyle>
|
|
||||||
<blockTableStyle id="Table3">
|
|
||||||
<blockAlignment value="LEFT"/>
|
|
||||||
<blockValign value="TOP"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="0,1" stop="0,1"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="1,1" stop="1,1"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="2,1" stop="2,1"/>
|
|
||||||
</blockTableStyle>
|
|
||||||
<blockTableStyle id="Table2">
|
|
||||||
<blockAlignment value="LEFT"/>
|
|
||||||
<blockValign value="TOP"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
|
|
||||||
</blockTableStyle>
|
|
||||||
<blockTableStyle id="Table4">
|
|
||||||
<blockAlignment value="LEFT"/>
|
|
||||||
<blockValign value="TOP"/>
|
|
||||||
</blockTableStyle>
|
|
||||||
<blockTableStyle id="Table10">
|
|
||||||
<blockAlignment value="LEFT"/>
|
|
||||||
<blockValign value="TOP"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="0,1" stop="0,1"/>
|
|
||||||
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="1,1" stop="1,1"/>
|
|
||||||
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
|
|
||||||
<lineStyle kind="LINEABOVE" colorName="#000000" start="2,1" stop="2,1"/>
|
|
||||||
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
|
|
||||||
</blockTableStyle>
|
|
||||||
<initialize>
|
|
||||||
<paraStyle name="all" alignment="justify"/>
|
|
||||||
</initialize>
|
|
||||||
<paraStyle name="P1" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT"/>
|
|
||||||
<paraStyle name="P2" fontName="Helvetica" fontSize="8.0" leading="10"/>
|
|
||||||
<paraStyle name="P3" fontName="Helvetica" fontSize="7.0" leading="9" alignment="LEFT"/>
|
|
||||||
<paraStyle name="P8" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="Standard" fontName="Helvetica"/>
|
|
||||||
<paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
||||||
<paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
|
|
||||||
<paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
||||||
<paraStyle name="Table Contents" fontName="Helvetica"/>
|
|
||||||
<paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
|
|
||||||
<paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
|
|
||||||
<paraStyle name="Index" fontName="Helvetica"/>
|
|
||||||
<paraStyle name="Frame contents" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
||||||
<paraStyle name="terp_default_Centre_9" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
|
|
||||||
<paraStyle name="terp_default_8" rightIndent="0.0" leftIndent="0.0" fontName="Courier" fontSize="10.0" leading="13" alignment="LEFT"/>
|
|
||||||
<paraStyle name="terp_header_Centre" fontName="Courier-Bold" fontSize="12.0" leading="15" alignment="CENTER"/>
|
|
||||||
<paraStyle name="terp_default_9b" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT"/>
|
|
||||||
<paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="terp_default_Bold_9_Right1" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="terp_default_Bold_9_Right2" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="P4" fontName="Courier-Bold" fontSize="10.0" leading="13" alignment="CENTER"/>
|
|
||||||
<paraStyle name="P5" fontName="Courier-Bold" fontSize="10.0" leading="13" alignment="LEFT"/>
|
|
||||||
<paraStyle name="P7" fontName="Courier-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="P6a" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="P7a" fontName="Courier" fontSize="10.0" leading="13" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="P6" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="P13" fontName="Courier-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/>
|
|
||||||
<paraStyle name="Table" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
|
|
||||||
<images/>
|
|
||||||
</stylesheet>
|
|
||||||
<story>
|
|
||||||
<para style="terp_default_8">[[ repeatIn(objects,'o') ]]</para>
|
|
||||||
<para style="terp_header_Centre">[[o.user_id.company_id.name]]</para>
|
|
||||||
<para style="terp_default_Centre_9">[[ address and display_address(address)]]</para>
|
|
||||||
<para style="terp_default_Centre_9">Tel : [[ address and address.phone ]]</para>
|
|
||||||
<para style="terp_default_Centre_9">User : [[ o.user_id.name ]]</para>
|
|
||||||
<para style="terp_default_Centre_9">Date : [[ o.date_order ]]</para>
|
|
||||||
<para style="P4">
|
|
||||||
<font color="white"> </font>
|
|
||||||
</para>
|
|
||||||
<para style="P4">
|
|
||||||
<font color="white"> </font>
|
|
||||||
</para>
|
|
||||||
<para style="P4">
|
|
||||||
<font color="white"> </font>
|
|
||||||
</para>
|
|
||||||
<para style="P4">N° : [[ o.name ]]</para>
|
|
||||||
<blockTable colWidths="68.0,68.0,68.0" style="Table3">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<para style="P5">Description</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="P7">Qty</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="P7">Price</para>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<para style="P1">[[ repeatIn(o.lines,'line') ]]</para>
|
|
||||||
<para style="terp_default_9b">[[ line.product_id.name ]]</para>
|
|
||||||
<para style="terp_default_Right_9">
|
|
||||||
<font face="Helvetica">With a [[ line and line.discount == 0.0 and removeParentNode('font') ]] ([[ '%.2f' % line.discount ]]) % discount.</font>
|
|
||||||
</para>
|
|
||||||
<para style="terp_default_9b">
|
|
||||||
<font color="white"> </font>
|
|
||||||
</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="terp_default_Right_9">[[o.state=='cancel' and o.statement_ids and '-' or '']][['%.f' % line.qty ]]</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="terp_default_Right_9">[[o.state=='cancel' and o.statement_ids and '-' or '']][[ formatLang(net(line.id), currency_obj=company.currency_id) ]] <font face="Helvetica">[[ line and line.discount == 0.0 and removeParentNode('font') ]] ([[ formatLang(line.discount, currency_obj=company.currency_id) ]])</font></para>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</blockTable>
|
|
||||||
<blockTable colWidths="136.0,68.0" style="Table2">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<para style="P6a">Taxes :</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="terp_default_Right_9">[[o.state=='cancel' and o.statement_ids and '-' or '']][[formatLang(o.amount_tax, currency_obj=company.currency_id)]]</para>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</blockTable>
|
|
||||||
<blockTable colWidths="136.0,68.0" style="Table4">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<para style="P6">Total :</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="terp_default_Bold_9_Right2">[[o.state=='cancel' and o.statement_ids and '-' or '']][[formatLang(o.amount_total, currency_obj=company.currency_id)]]</para>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</blockTable>
|
|
||||||
<blockTable colWidths="102.0,34.0,68.0" style="Table10">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<para style="P5">Payment Mode</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="P1">
|
|
||||||
<font color="white"> </font>
|
|
||||||
</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="P13">Amount</para>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<para style="P1">[[ repeatIn(get_journal_amt(o),'d') ]]</para>
|
|
||||||
<para style="P2">[[ d['name'] ]]</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="P1">
|
|
||||||
<font color="white"> </font>
|
|
||||||
</para>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<para style="P8">[[ formatLang(d['amt'] or 0, currency_obj=company.currency_id) ]]</para>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</blockTable>
|
|
||||||
</story>
|
|
||||||
</document>
|
|
|
@ -1,88 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<openerp>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="purchase_draft" model="ir.actions.act_window">
|
|
||||||
<field name="name">Request for Quotations</field>
|
|
||||||
<field name="type">ir.actions.act_window</field>
|
|
||||||
<field name="res_model">purchase.order</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">tree,form</field>
|
|
||||||
<field name="domain">[('state','=','draft')]</field>
|
|
||||||
<field name="context">{'quotation_only': True}</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record model="ir.ui.view" id="view_purchase_order_monthly_categ_tree">
|
|
||||||
<field name="name">purchase.order.monthly.categ.tree</field>
|
|
||||||
<field name="model">purchase.report</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<tree string="Monthly Purchase by Category">
|
|
||||||
<field name="category_id"/>
|
|
||||||
<field name="price_total"/>
|
|
||||||
<field name="user_id" invisible="1"/>
|
|
||||||
<field name="partner_id" invisible="1"/>
|
|
||||||
<field name="product_id" invisible="1"/>
|
|
||||||
<field name="product_uom" invisible="1"/>
|
|
||||||
<field name="validator" invisible="1"/>
|
|
||||||
<field name="company_id" invisible="1"/>
|
|
||||||
<field name="state" invisible="1"/>
|
|
||||||
<field name="location_id" invisible="1"/>
|
|
||||||
</tree>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record model="ir.ui.view" id="view_purchase_order_monthly_categ_graph">
|
|
||||||
<field name="name">purchase.order.monthly.categ.graph</field>
|
|
||||||
<field name="model">purchase.report</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<graph string="Monthly Purchase by Category" type="bar">
|
|
||||||
<field name="date" interval="month" type="row"/>
|
|
||||||
<field name="category_id" type="col"/>
|
|
||||||
<field name="price_total" type="measure"/>
|
|
||||||
</graph>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="action_purchase_order_monthly_categ_graph" model="ir.actions.act_window">
|
|
||||||
<field name="name">Monthly Purchase by Category</field>
|
|
||||||
<field name="res_model">purchase.report</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">graph,tree</field>
|
|
||||||
<field name="context">{'group_by_no_leaf':1}</field>
|
|
||||||
<field name="domain">[('state','in',('approved','except_picking','except_invoice','done'))]</field>
|
|
||||||
<field name="view_id" ref="view_purchase_order_monthly_categ_graph"></field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="board_purchase_form" model="ir.ui.view">
|
|
||||||
<field name="name">board.purchase.form</field>
|
|
||||||
<field name="model">board.board</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<form string="Purchase Dashboard" version="7.0">
|
|
||||||
<board style="2-1">
|
|
||||||
<column>
|
|
||||||
<action name="%(purchase_draft)d" string="Request for Quotations"/>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<action name="%(action_purchase_order_monthly_categ_graph)d" string="Monthly Purchases by Category"/>
|
|
||||||
</column>
|
|
||||||
</board>
|
|
||||||
</form>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="open_board_purchase" model="ir.actions.act_window">
|
|
||||||
<field name="name">Purchases</field>
|
|
||||||
<field name="res_model">board.board</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">form</field>
|
|
||||||
<field name="usage">menu</field>
|
|
||||||
<field name="view_id" ref="board_purchase_form"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<menuitem action="open_board_purchase"
|
|
||||||
icon="terp-graph"
|
|
||||||
id="menu_board_purchase"
|
|
||||||
parent="base.menu_reporting_dashboard"
|
|
||||||
sequence="20"
|
|
||||||
groups="purchase.group_purchase_user"/>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
|
@ -1,93 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<openerp>
|
|
||||||
<data>
|
|
||||||
<record id="view_stock_graph_board" model="ir.ui.view">
|
|
||||||
<field name="name">report.stock.move.graph</field>
|
|
||||||
<field name="model">stock.move</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<graph string="Moves Analysis" type="bar">
|
|
||||||
<field name="date"/>
|
|
||||||
<field name="product_qty" operator="+"/>
|
|
||||||
<field name="product_id" group="True"/>
|
|
||||||
</graph>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_stock_quant_graph_board" model="ir.ui.view">
|
|
||||||
<field name="name">report.stock.quant.graph</field>
|
|
||||||
<field name="model">stock.quant</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<graph string="Actual Stock Analysis" type="bar">
|
|
||||||
<field name="location_id" type="row"/>
|
|
||||||
<field name="qty" type="measure"/>
|
|
||||||
<field name="product_id" type="row"/>
|
|
||||||
</graph>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record model="ir.actions.act_window" id="action_stock_incoming_product_delay">
|
|
||||||
<field name="name">Incoming Products</field>
|
|
||||||
<field name="res_model">stock.move</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">graph,tree</field>
|
|
||||||
<field name="domain">[('location_id.usage','!=','internal'), ('location_dest_id.usage','=','internal'), ('date','<=', time.strftime('%Y-%m-%d')),('date','>',(context_today()-datetime.timedelta(days=15)).strftime('%Y-%m-%d'))]</field>
|
|
||||||
<field name="view_id" ref="view_stock_graph_board"></field>
|
|
||||||
<field name="context">{}</field>
|
|
||||||
</record>
|
|
||||||
<record model="ir.actions.act_window" id="action_stock_outgoing_product_delay">
|
|
||||||
<field name="name">Outgoing Products</field>
|
|
||||||
<field name="res_model">stock.move</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">graph,tree</field>
|
|
||||||
<field name="domain">[('location_id.usage','=','internal'), ('location_dest_id.usage', '!=', 'internal'), ('date','<=', time.strftime('%Y-%m-%d')),('date','>',(context_today()-datetime.timedelta(days=15)).strftime('%Y-%m-%d'))]</field>
|
|
||||||
<field name="view_id" ref="view_stock_graph_board"></field>
|
|
||||||
<field name="context">{}</field>
|
|
||||||
</record>
|
|
||||||
<record model="ir.actions.act_window" id="action_stock_quants">
|
|
||||||
<field name="name">Actual Stock</field>
|
|
||||||
<field name="res_model">stock.quant</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">graph,tree</field>
|
|
||||||
<field name="domain">[('location_id.usage','=','internal')]</field>
|
|
||||||
<field name="view_id" ref="view_stock_quant_graph_board"></field>
|
|
||||||
<field name="context">{}</field>
|
|
||||||
</record>
|
|
||||||
<record id="board_warehouse_form" model="ir.ui.view">
|
|
||||||
<field name="name">board.warehouse.form</field>
|
|
||||||
<field name="model">board.board</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<form string="Warehouse board" version="7.0">
|
|
||||||
<board style="1-1">
|
|
||||||
<column>
|
|
||||||
<action name="%(action_stock_incoming_product_delay)d" string="Incoming Products"/>
|
|
||||||
<action name="%(action_stock_outgoing_product_delay)d" string="Outgoing Products"/>
|
|
||||||
</column>
|
|
||||||
<column>
|
|
||||||
<action name="%(action_stock_quants)d" string="Actual Stock"/>
|
|
||||||
<action name="%(procurement.procurement_exceptions)d" string="Procurements in Exception" domain="[('state','=','exception')]"/>
|
|
||||||
</column>
|
|
||||||
</board>
|
|
||||||
</form>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<record id="open_board_warehouse" model="ir.actions.act_window">
|
|
||||||
<field name="name">Warehouse</field>
|
|
||||||
<field name="res_model">board.board</field>
|
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">form</field>
|
|
||||||
<field name="view_id" ref="board_warehouse_form"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<menuitem id="menu_board_warehouse"
|
|
||||||
parent="base.menu_reporting_dashboard"
|
|
||||||
action="open_board_warehouse"
|
|
||||||
sequence="25"
|
|
||||||
groups="stock.group_stock_user"/>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
Loading…
Reference in New Issue