Commit Graph

1006 Commits

Author SHA1 Message Date
Pedro M. Baeza
c9d76a277e [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2022-01-24 13:45:33 +01:00
Levent Karakaş
e473d67ede [MIG] contract_sale: Migration to 11.0 2022-01-24 13:45:33 +01:00
OCA Transbot
06e4b78718 OCA Transbot updated translations from Transifex 2022-01-24 13:45:33 +01:00
Luis M. Ontalba
dbcac23b20 [ADD] contract_sale (#104) 2022-01-24 13:45:33 +01:00
OCA-git-bot
3ada67bc7c [UPD] addons table in README.md 2021-12-16 10:28:53 +00:00
OCA-git-bot
6c46c19de9 contract 15.0.1.0.1 2021-12-16 10:28:48 +00:00
OCA-git-bot
fdaa4dbc7d Merge PR #756 into 15.0
Signed-off-by pedrobaeza
2021-12-16 10:24:59 +00:00
manu
27700a9e0e [FIX] contract: Avoid error in invoicing contracts crone 2021-12-16 10:24:02 +01:00
OCA-git-bot
06e41e5371 [ADD] setup.py 2021-11-26 12:34:40 +00:00
OCA-git-bot
8880f08a1c [UPD] README.rst 2021-11-26 12:34:39 +00:00
OCA-git-bot
96fa6dcd33 [UPD] addons table in README.md 2021-11-26 12:34:38 +00:00
oca-ci
a44c27fd81 [UPD] Update contract.pot 2021-11-26 12:30:35 +00:00
OCA-git-bot
504dba3e81 Merge PR #738 into 15.0
Signed-off-by pedrobaeza
2021-11-26 12:27:40 +00:00
oca-git-bot
6479e9d8f8 [IMP] update dotfiles [ci skip] 2021-11-10 21:30:56 +01: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
Víctor Martínez
ed2f6429eb [FIX] contract: Generate recurring invoice
Remove line_ids from invoice values to prevent invoice without lines according to https://github.com/odoo/odoo/pull/67879 change
2021-11-09 10:08:21 +07:00
Víctor Martínez
f9bf927689 [FIX] contract: Changed modification_mail auto to appear like email and not internal comment 2021-11-09 10:08:20 +07:00
OCA-git-bot
e83f10e301 contract 13.0.2.3.6 2021-11-09 10:08:20 +07:00
Pedro M. Baeza
4229a2c824 [OU-FIX] contract: Transfer contract info from invoice 2021-11-09 10:08:20 +07:00
Pedro M. Baeza
c787a59df4 [OU-FIX] contract: Don't alter v12 recurrence mechanism
We can't guarantee the homogeneity of the existing contracts, so we
keep the line recurrence behavior.
2021-11-09 10:08:20 +07:00
newtratip
ee30ae79ef [13.0][FIX] contract: consistency between contract count and contract action 2021-11-09 10:08:20 +07:00
OCA-git-bot
df22ad2764 contract 13.0.2.3.5 2021-11-09 10:08:20 +07:00