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
nans
e80d79a1e6
[FIX] contract: consistency between contract count and contract action
...
On the commercial entity, the count shows all contracts of child partners.
However clicking on the action might show no contract, as the action only
restricted the domain to the partner itself.
We extract the domain into a function to share it in both cases.
2021-11-09 10:08:20 +07:00
OCA-git-bot
63b0677098
contract 13.0.2.3.4
2021-11-09 10:08:20 +07:00
nans
034c50df30
[FIX] contract: remove groupby if it is in context
...
Co-authored by @Lopsanz
2021-11-09 10:08:20 +07:00
OCA-git-bot
ffe990c479
contract 13.0.2.3.3
2021-11-09 10:08:20 +07:00
Víctor Martínez
54a0fc96c4
[FIX] contract: Error in test_contract_invoice_followers
2021-11-09 10:08:20 +07:00
OCA-git-bot
9fc153b949
contract 13.0.2.3.2
2021-11-09 10:08:20 +07:00
Denis Roussel
b1c2a771bb
[13.0][FIX] contract: Impossible to create invoices from contract lines as section
2021-11-09 10:08:20 +07:00
Víctor Martínez
30417a789c
[FIX] contract: Prevent first contract modification mail to partner
2021-11-09 10:08:20 +07:00
OCA-git-bot
3e288bbefe
contract 13.0.2.3.0
2021-11-09 10:08:20 +07:00
Víctor Martínez
09dbba7b03
[FIX] contract: Set groups in back_in_edit_mode link to show only correct users
2021-11-09 10:08:20 +07:00
Víctor Martínez
9120b7fc4c
[FIX] contract: Modification mail + Auto-create follower in contract creation related to partner_id
...
Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com >
2021-11-09 10:08:20 +07:00
Ignacio Buioli
cfddbb054f
Translated using Weblate (Spanish (Argentina))
...
Currently translated at 100.0% (304 of 304 strings)
Translation: contract-13.0/contract-13.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract/es_AR/
2021-11-09 10:08:20 +07:00
OCA-git-bot
9a9821f30b
contract 13.0.2.2.1
2021-11-09 10:08:20 +07:00
Víctor Martínez
39bae838e9
[FIX] contract: Missing migration to 13.0
2021-11-09 10:08:20 +07:00