mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[9.0] rma_sale: add default sale operation
This commit is contained in:
@@ -10,13 +10,16 @@
|
||||
'summary': 'Links RMA with Sales Orders',
|
||||
'author': "Eficent, Odoo Community Association (OCA)",
|
||||
'website': 'http://www.github.com/OCA/rma',
|
||||
'depends': ['rma', 'rma_account', 'sale_stock'],
|
||||
'data': ['views/rma_order_view.xml',
|
||||
'views/rma_operation_view.xml',
|
||||
'views/sale_order_view.xml',
|
||||
'wizards/rma_order_line_make_sale_order_view.xml',
|
||||
'wizards/rma_add_sale.xml',
|
||||
'views/rma_order_line_view.xml'],
|
||||
'installable': False,
|
||||
'depends': ['rma_account', 'sale_stock'],
|
||||
'data': [
|
||||
'data/rma_operation.xml',
|
||||
'views/rma_order_view.xml',
|
||||
'views/rma_operation_view.xml',
|
||||
'views/sale_order_view.xml',
|
||||
'wizards/rma_order_line_make_sale_order_view.xml',
|
||||
'wizards/rma_add_sale.xml',
|
||||
'views/rma_order_line_view.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
||||
16
rma_sale/data/rma_operation.xml
Normal file
16
rma_sale/data/rma_operation.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="rma_operation_customer_sale" model="rma.operation">
|
||||
<field name="name">Sale after receive</field>
|
||||
<field name="code">SL-C</field>
|
||||
<field name="sale_policy">received</field>
|
||||
<field name="receipt_policy">ordered</field>
|
||||
<field name="delivery_policy">no</field>
|
||||
<field name="refund_policy">no</field>
|
||||
<field name="type">customer</field>
|
||||
<field name="in_route_id" ref="rma.route_rma_customer"/>
|
||||
<field name="out_route_id" ref="rma.route_rma_customer"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user