[FIX] contract: Don't execute onchange after invoice creation + Tests with duplicated name

- Don't execute onchange after invoice creation
  Using that approach (that is the current one in core)  has a lot of side effects and
  performance bottlenecks. You can read odoo/odoo#40156 for summarizing them.
  This also improves the handling of the values of payment term an fiscal position
  for using the partner ones if not set.
- Tests with duplicated name
  So they are not executed at all. Detected by chance looking for a test for the other PR.
This commit is contained in:
Pedro M. Baeza
2019-12-02 13:25:07 +01:00
committed by Christopher Rogos
parent ab32fa5f30
commit 912480c68d
71 changed files with 86 additions and 85 deletions

View File

@@ -318,7 +318,7 @@ msgid "Company"
msgstr ""
#. module: contract
#: code:addons/contract/models/contract.py:310
#: code:addons/contract/models/contract.py:317
#, python-format
msgid "Compose Email"
msgstr ""