[IMP] Add a setting to install sale_layout
This commit is contained in:
@@ -44,6 +44,10 @@ class sale_configuration(osv.TransientModel):
|
||||
(0, 'Salespeople do not need to view margins when quoting'),
|
||||
(1, 'Display margins on quotations and sales orders')
|
||||
], "Margins"),
|
||||
'module_sale_layout': fields.selection([
|
||||
(0, 'Do not personalize sale orders and invoice reports'),
|
||||
(1, 'Personnalize the sale orders and invoice report with separators, page-breaks or subtotals')
|
||||
], "Sale Reports Layout"),
|
||||
'module_website_quote': fields.selection([
|
||||
(0, 'Print quotes or send by email'),
|
||||
(1, 'Send online quotations based on templates (advanced)')
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
<field name="group_discount_per_so_line" widget="radio"/>
|
||||
<field name="module_website_quote" widget="radio"/>
|
||||
<field name="module_sale_margin" widget="radio"/>
|
||||
<field name="module_sale_layout" widget="radio"/>
|
||||
<field name="auto_done_setting" widget="radio"/>
|
||||
<label for="sale_pricelist_setting" string="Sale Price"/>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user