Commit Graph

311 Commits

Author SHA1 Message Date
OCA-git-bot
62344ec153 contract 15.0.1.2.0 2022-03-11 15:17:35 +00:00
Denis Roussel
d0b353a917 contract: Add comment to remind updating method in next version 2022-03-09 09:55:08 +01:00
Denis Roussel
7736b823ff contract: simplify compute as False values are already taken into account
In get_next_invoice_date, False values are already taken into account, so, simplifying
compute_recurring_next_date function.
2022-03-09 09:55:08 +01:00
Denis Roussel
730b832466 contract: Compute recurring_next_date for False values too 2022-03-09 09:55:08 +01:00
Denis Roussel
5062dd6e6e contract: Don't update recurring_next_date as computed 2022-03-09 09:55:08 +01:00
Ignacio Buioli
cf29e65936 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (313 of 313 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
2022-02-26 17:17:02 +00:00
Noel estudillo
adef33e263 Translated using Weblate (Catalan)
Currently translated at 96.8% (303 of 313 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/ca/
2022-02-25 13:17:04 +00:00
OCA Transbot
4add11dec4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/
2022-02-21 07:21:00 +00:00
OCA-git-bot
08bad7c779 contract 15.0.1.1.1 2022-02-21 07:20:40 +00:00
oca-ci
15b7e8a954 [UPD] Update contract.pot 2022-02-21 07:16:31 +00:00
Jean-Charles Drubay
4a73cbbe2b ADJ: When generating invoices from the Wizard to create invoices manually, reraise any UserError with information about which contract triggered the exception to facilitate the investigation by accountants in case invoices are not generated automatically. 2022-02-18 08:09:30 +01:00
OCA-git-bot
19cd949384 contract 15.0.1.1.0 2022-02-02 16:30:10 +00:00
oca-ci
425f7c994a [UPD] Update contract.pot 2022-02-02 16:26:51 +00:00
Víctor Martínez
e76277db5d [IMP] contract: Add discount + price_subtotal fields to the contract lines in the portal view.
TT34117
2022-02-02 13:34:56 +01:00
OCA-git-bot
21cf450426 contract 15.0.1.0.2 2022-01-25 17:57:46 +00:00
OCA-git-bot
75b8f173af [UPD] README.rst 2022-01-25 17:57:45 +00:00
Joan Mateu Jordi
4850dd205c [15.0][IMP] modify production beta to stable 2022-01-25 11:04:13 +01:00
OCA-git-bot
6c46c19de9 contract 15.0.1.0.1 2021-12-16 10:28:48 +00:00
manu
27700a9e0e [FIX] contract: Avoid error in invoicing contracts crone 2021-12-16 10:24:02 +01:00
OCA-git-bot
8880f08a1c [UPD] README.rst 2021-11-26 12:34:39 +00:00
oca-ci
a44c27fd81 [UPD] Update contract.pot 2021-11-26 12:30:35 +00:00
Jean-Charles Drubay
119b5b6700 [MIG] contract: Migration to 15.0
Most changes are related to the switch from jinja to qweb in mail templates.

Also included:
- convert deprecated onchange that returns a domain and other deprecation warnings
  (see below)
- Add migration scripts from version 14.0 (force the update of the mail templates)
- Fix warnings from pre-commit checks

Fixes depreciation warnings:

- onchange method ContractAbstractContractLine._onchange_product_id returned
  a domain, this is deprecated
- SavepointCase is deprecated:
  https://github.com/odoo/odoo/blob/15.0/odoo/tests/common.py#L742
- assertDictContainsSubset: According to:
  https://stackoverflow.com/questions/20050913/python-unittests-assertdictcontainssubset-recommended-alternative
2021-11-09 10:08:29 +07:00
Jean-Charles Drubay
7537451d2f [IMP] contract: black, isort, prettier 2021-11-09 10:08:29 +07:00
Pedro Castro Silva
511c637d47 Translated using Weblate (Portuguese)
Currently translated at 80.4% (247 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/pt/
2021-11-09 10:08:29 +07:00
pere-aquarian
cb261311db Translated using Weblate (Catalan)
Currently translated at 98.3% (302 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/ca/
2021-11-09 10:08:29 +07:00
OCA-git-bot
68d248518f contract 14.0.1.2.3 2021-11-09 10:08:29 +07:00
João Marques
992cac4deb [FIX] contract: Fix invoice creation and salesperson assignment
In v13, the `user_id` field is a related field to `invoice_user_id`, that defaults to the environment user (`self.env.user`).
Therefore, if we try to create an invoice just by passing `user_id`, it would be overwritten by the default computation of `invoice_user_id`.
This fixes it by passing the correct field and data.

TT31715
2021-11-09 10:08:29 +07:00
OCA-git-bot
a0ab18e381 contract 14.0.1.2.2 2021-11-09 10:08:29 +07:00
Alexis de Lattre
a60709e1bd [FIX] contract: fix an obvious crash when self is a multi-recordset 2021-11-09 10:08:29 +07:00
Ediz Duman
5add2e225f Translated using Weblate (Turkish)
Currently translated at 72.9% (224 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/tr/
2021-11-09 10:08:29 +07:00
Pedro M. Baeza
4d1a3b31c5 [FIX] contract: Cleanup values on line when invoicing
It seems that having several fields returned by `Form` as `False` that
are related to one2many inverse field, makes Odoo ORM mad, and get to
an unbalanced move when generating the invoice.

Cleaning these values assures to work without problems.

Not able to provide a regression test, as I don't get to reproduce the
conditions to happen in test environment, but the patch is safe and
harmless anyways.

TT30842
2021-11-09 10:08:29 +07:00
Ignacio Buioli
32db8d38f4 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (307 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/es_AR/
2021-11-09 10:08:29 +07:00
OCA Transbot
23bfb94381 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/
2021-11-09 10:08:29 +07:00
OCA-git-bot
680c93e33f contract 14.0.1.2.0 2021-11-09 10:08:29 +07:00
Ignacio Buioli
77f3613c82 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (306 of 306 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/es_AR/

[UPD] Update contract.pot
2021-11-09 10:08:26 +07:00
OCA Transbot
ac474709e8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/
2021-11-09 10:08:26 +07:00
OCA-git-bot
52c0d16e5b contract 14.0.1.1.0 2021-11-09 10:08:26 +07:00
Víctor Martínez
ca74e2eecd [FIX] contract: Force add access_token in "View contract" button from contract modification mail.
[UPD] Update contract.pot
2021-11-09 10:08:23 +07:00
Víctor Martínez
f2996fcd44 [IMP] contract: Improve code to show recurring_rule_type from contract line in portal 2021-11-09 10:08:23 +07:00
Denis Roussel
23b4bc7bc6 [13.0][FIX] contract: Set layout for section and note in portal template 2021-11-09 10:08:23 +07:00
Pedro M. Baeza
fad369e47b [FIX] contract: Don't change period start date having line recurrence
Fine-tuning of cd086ddbb4. We shouldn't do
this adjustment if the line recurrence is set, as if so, there's no
possibility of adding post-paid lines with proper dates on a running
contract.
2021-11-09 10:08:23 +07:00
Yves Le Doeuff
7d9727f45a Translated using Weblate (French)
Currently translated at 94.7% (288 of 304 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/fr/
2021-11-09 10:08:23 +07:00
Bosd
01ca8fb7af Translated using Weblate (Dutch)
Currently translated at 74.6% (227 of 304 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/nl/
2021-11-09 10:08:23 +07:00
Bosd
031d4e4aa3 Translated using Weblate (Dutch)
Currently translated at 74.3% (226 of 304 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/nl/
2021-11-09 10:08:23 +07:00
Yves Le Doeuff
43b3007a21 Translated using Weblate (French (France))
Currently translated at 92.8% (284 of 306 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/fr_FR/
2021-11-09 10:08:23 +07:00
Yves Le Doeuff
2d6e2ab5cc Added translation using Weblate (French (France)) 2021-11-09 10:08:23 +07:00
Francisco Ivan Anton Prieto
7d46e3a148 [FIX] contract: restore readme images
[UPD] Update contract.pot

[UPD] README.rst
2021-11-09 10:08:21 +07:00
Francisco Ivan Anton Prieto
40851a4934 [MIG] contract: Migration to 14.0 2021-11-09 10:08:21 +07:00
Francisco Ivan Anton Prieto
0853330308 [IMP] contract: black, isort, prettier 2021-11-09 10:08:21 +07:00
OCA-git-bot
9ecf2bb3f5 contract 13.0.2.3.7 2021-11-09 10:08:21 +07:00