summaryrefslogtreecommitdiff
path: root/addons/account/security/ir.model.access.csv
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2020-08-17 10:14:09 +0000
committerwan <wan@odoo.com>2020-08-21 07:46:07 +0000
commit8129aa40dbb236b693b21724ebf0e57bc59dbc8b (patch)
treef7d5059bcac1bdc2af0ffd9ad570251f5c9f9eef /addons/account/security/ir.model.access.csv
parenteb6a177a50128f2d78607fcff36aaf65e8a3034e (diff)
[IMP] account{,_check_printing}: usability
Task 2005940 account: * Use stored compute methods instead of default for {out,in}bound_payment_method_ids * Track is_move_sent in the chatter * Split 'Invoices' and 'Bills' in the smart button of payment form * Because account.payment.method can be shown on the res.partner form, we need to relax the security level to readonly for all users account_check_printing: * Add the preferred payment method for partners, with a related on account move allowing to do a group by and doing payments in batch * Add a constraint to forbid twice the same check number in the same journal * The amount in words is now readonly to prevent typos and mismatches with the amount in digits * Remove the field `check_number_int`. The check number is kept as Char so that '000012345' is not displayed (and printed) as '12,345' but it is parsed so that comparison and incrementation are possible. closes odoo/odoo#56179 Related: odoo/upgrade#1669 Related: odoo/enterprise#12527 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/account/security/ir.model.access.csv')
-rw-r--r--addons/account/security/ir.model.access.csv2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/security/ir.model.access.csv b/addons/account/security/ir.model.access.csv
index 2013d5dbd4b..cddbb5372f2 100644
--- a/addons/account/security/ir.model.access.csv
+++ b/addons/account/security/ir.model.access.csv
@@ -118,7 +118,7 @@ access_account_payment_term_partner_manager,account.payment.term partner manager
access_account_payment_term_manager,account.payment.term,model_account_payment_term,account.group_account_manager,1,1,1,1
access_account_payment_term_line_partner_manager,account.payment.term.line partner manager,model_account_payment_term_line,base.group_user,1,0,0,0
access_account_payment_term_line_manager,account.payment.term.line,model_account_payment_term_line,account.group_account_manager,1,1,1,1
-access_account_payment_method_readonly,account.payment.method,model_account_payment_method,account.group_account_readonly,1,0,0,0
+access_account_payment_method_readonly,account.payment.method,model_account_payment_method,base.group_user,1,0,0,0
access_account_payment_method,account.payment.method,model_account_payment_method,account.group_account_invoice,1,1,1,1
access_account_payment_readonly,account.payment,model_account_payment,account.group_account_readonly,1,0,0,0
access_account_payment,account.payment,model_account_payment,account.group_account_invoice,1,1,1,1