summaryrefslogtreecommitdiff
path: root/addons/mail/data
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2018-09-12 15:41:39 +0200
committerRomain Derie <rde@odoo.com>2018-09-19 12:00:37 +0200
commit34c47eecd30bdf66bc057bf285a51cff956cd0e8 (patch)
tree44b78276162110c8eedead123f07bc7fe55cf2f7 /addons/mail/data
parent0a5249344424d25979b2fa1f102497dd29d64273 (diff)
[IMP] various,sale: improve sign, pay and reject
Flow ==== Have one model field responsible of telling when the sales order has to be signed or paid to avoid inconsistencies. The general rule is: sign & pay are only used upfront to confirm a sales order. If a sales person starts to modify (confirm) it manually, we don't need those features. Especially at that point pay should be done with invoices. Modal ===== For the sign, we want to force refresh the page to update its state, and thus we need to show the confirmation message on the reloaded page. For sign and pay, we changed a bit the structure of the text in the modal to allow to translate it more easily. Also fixed the payment selection by moving it into the body instead of the footer. For the reject modal, we want the feedback field to be required, so we can see in the chatter by who and why it has been rejected. Misc ==== Moved remaining bits of code related to preview/pay/accept/decline from sale_management into sale, where it should have been in the first place. Sales Order: - Improved status/contextual alerts. - Hide discount from small to fix responsive. PR: #26801 task-1876864 remove sales help
Diffstat (limited to 'addons/mail/data')
-rw-r--r--addons/mail/data/mail_data.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml
index d34c233c8c7..2f2d36f62f2 100644
--- a/addons/mail/data/mail_data.xml
+++ b/addons/mail/data/mail_data.xml
@@ -229,7 +229,6 @@
<t t-set="access_action" t-value="record.with_context(force_website=True).get_access_action()"/>
<t t-set="is_online" t-value="access_action and access_action['type'] == 'ir.actions.act_url'"/>
<t t-set="access_url" t-value="is_online and record._get_share_url(redirect=True, signup_partner=True) or ''"/>
- <t t-set="access_code" t-value="'view'"/>
<t t-set="access_name">
View <t t-esc="record._description.lower()"/>
</t>