summaryrefslogtreecommitdiff
path: root/addons/account_check_printing/models/__init__.py
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_check_printing/models/__init__.py
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_check_printing/models/__init__.py')
-rw-r--r--addons/account_check_printing/models/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/account_check_printing/models/__init__.py b/addons/account_check_printing/models/__init__.py
index 806954020e2..7341412a7f7 100644
--- a/addons/account_check_printing/models/__init__.py
+++ b/addons/account_check_printing/models/__init__.py
@@ -2,7 +2,8 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import account_journal
+from . import account_move
from . import account_payment
-from . import chart_template
from . import res_company
from . import res_config_settings
+from . import res_partner