summaryrefslogtreecommitdiff
path: root/addons/sale/security
diff options
context:
space:
mode:
authorParth Choksi <pch@odoo.com>2019-07-12 04:59:53 +0000
committerDamien Bouvy <dbo@odoo.com>2019-08-08 07:54:07 +0000
commit5d7c0267a68b906afc267a99ab1ae7257bba8f66 (patch)
treea6975280f36cc39e24b126cb2495f3b28d6df41b /addons/sale/security
parent3ee0d3b68b8ceeb4fcd3379fd8c87ae402835139 (diff)
[IMP] *_sale, sale, sale_*: improvements in form view
Sending a quotation by mail is really rare and the option is still available in dropdown menu. It is also confusing to see the document status changed while you just want to print as a draft sometimes. So the PRINT button is removed here. Only displayed UNLOCK/LOCK for 'sales managers' if the option “Lock confirmed orders” is activated in the settings. Removed the ability to open the payment terms via external button in edit mode Removed the left,right and top borders in the field of terms and condition. Kept only bottom border. Event and Event ticket will come after Product regardless of it being a template or the product. In the sale order's form view, made certain changes like shifting the positions, removing the field, adding title, keeping the field in debug mode. task-2033229
Diffstat (limited to 'addons/sale/security')
-rw-r--r--addons/sale/security/sale_security.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/sale/security/sale_security.xml b/addons/sale/security/sale_security.xml
index cbcd4baf8c3..0ecefa2bda8 100644
--- a/addons/sale/security/sale_security.xml
+++ b/addons/sale/security/sale_security.xml
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
+ <record id="group_auto_done_setting" model="res.groups">
+ <field name="name">Lock Confirmed Sales</field>
+ <field name="category_id" ref="base.module_category_hidden"/>
+ </record>
+
<record id="group_delivery_invoice_address" model="res.groups">
<field name="name">Addresses in Sales Orders</field>
<field name="category_id" ref="base.module_category_hidden"/>