Commit Graph

288 Commits

Author SHA1 Message Date
Pedro M. Baeza
35ceea393d [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-07-01 18:01:07 +02:00
Ignacio Buioli
d73c326d61 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (305 of 305 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-05-30 04:48:12 +00:00
OCA-git-bot
1626759a50 contract 13.0.2.5.0 2021-05-27 08:59:54 +00:00
OCA-git-bot
e841eb4a86 Merge PR #680 into 13.0
Signed-off-by pedrobaeza
2021-05-27 08:39:49 +00:00
Víctor Martínez
4b9bae681c [FIX] contract: Force add access_token in "View contract" button from contract modification mail. 2021-05-27 10:04:06 +02:00
OCA Transbot
fff9131dcf Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-13.0/contract-13.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract/
2021-05-21 18:06:19 +00:00
OCA-git-bot
d8089e74b9 contract 13.0.2.4.0 2021-05-21 18:06:07 +00:00
oca-travis
5acb082e61 [UPD] Update contract.pot 2021-05-21 16:57:46 +00:00
OCA-git-bot
59d15183fc Merge PR #668 into 13.0
Signed-off-by pedrobaeza
2021-05-21 15:57:22 +00:00
Pedro M. Baeza
2cb67a1fdb [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-05-18 20:55:47 +02:00
Denis Roussel
0261d34211 [13.0][FIX] contract: Set layout for section and note in portal template 2021-04-30 16:18:34 +02:00
Pedro M. Baeza
d3661f36d7 [OU-FIX] contract: Incorrect table
It was contract_contract, not contract_line
2021-04-09 22:57:12 +02:00
Pedro M. Baeza
e79cda0a5c [OU-FIX] contract: Put recurrence by SQL [ci skip]
This way, we avoid that ORM checks incorrect conditions, like a finished
contract line without next invoicing date.
2021-04-09 20:50:14 +02:00
OCA-git-bot
91d328733a contract 13.0.2.3.8 2021-04-05 06:56:49 +00:00
Víctor Martínez
75886a3a82 [IMP] contract: Add portal screenshots 2021-04-05 08:13:06 +02:00
OCA-git-bot
7c91b6df52 contract 13.0.2.3.7 2021-03-18 20:25:32 +00:00
Víctor Martínez
b5ac6aa557 [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-03-18 09:54:01 +01:00
Víctor Martínez
2813331e72 [FIX] contract: Changed modification_mail auto to appear like email and not internal comment 2021-03-17 12:32:37 +01:00
OCA-git-bot
295009bd38 contract 13.0.2.3.6 2021-03-10 11:41:15 +00:00
OCA-git-bot
14ab01c451 Merge PR #641 into 13.0
Signed-off-by dreispt
2021-03-10 09:56:15 +00:00
Pedro M. Baeza
92736b6199 [OU-FIX] contract: Transfer contract info from invoice 2021-03-03 23:07:48 +01:00
Pedro M. Baeza
6d43d343ea [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-02-27 13:45:47 +01:00
newtratip
37199cbb52 [13.0][FIX] contract: consistency between contract count and contract action 2021-02-23 21:21:51 +07:00
OCA-git-bot
bd6d2aaa5a contract 13.0.2.3.5 2021-02-16 15:50:41 +00:00
nans
efbd176004 [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-02-16 15:29:50 +01:00
OCA-git-bot
f1f853f1fb contract 13.0.2.3.4 2021-02-15 17:23:24 +00:00
nans
8067c82a7c [FIX] contract: remove groupby if it is in context
Co-authored by @Lopsanz
2021-02-15 15:10:08 +01:00
OCA-git-bot
c6806b8a70 contract 13.0.2.3.3 2021-02-11 14:11:24 +00:00
Víctor Martínez
2b87ec9a82 [FIX] contract: Error in test_contract_invoice_followers 2021-02-03 09:08:20 +01:00
OCA-git-bot
623d788876 contract 13.0.2.3.2 2021-01-31 23:44:50 +00:00
Denis Roussel
7538443b53 [13.0][FIX] contract: Impossible to create invoices from contract lines as section 2021-01-31 21:57:05 +01:00
Víctor Martínez
88edf6c7b7 [FIX] contract: Prevent first contract modification mail to partner 2021-01-23 18:47:56 +01:00
OCA-git-bot
874b573197 contract 13.0.2.3.0 2021-01-19 08:53:13 +00:00
Víctor Martínez
1f616b56b1 [FIX] contract: Set groups in back_in_edit_mode link to show only correct users 2021-01-19 09:07:07 +01:00
Víctor Martínez
ecacc4e8f2 [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-01-15 10:12:44 +01:00
Ignacio Buioli
25b9099432 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-01-10 23:45:23 +00:00
OCA-git-bot
49648d376a contract 13.0.2.2.1 2021-01-04 17:06:48 +00:00
Víctor Martínez
da4962abf0 [FIX] contract: Missing migration to 13.0 2021-01-04 17:08:49 +01:00
OCA Transbot
55801f5ba6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-13.0/contract-13.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract/
2021-01-01 10:51:37 +00:00
OCA-git-bot
e418cc77e2 contract 13.0.2.2.0 2021-01-01 10:50:51 +00:00
oca-travis
647a43472b [UPD] Update contract.pot 2021-01-01 10:33:25 +00:00
Víctor Martínez
ef7c00de42 [IMP] contract: Add fields to contract page in portal 2020-12-31 15:56:55 +01:00
OCA Transbot
8b1afe20cb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-13.0/contract-13.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract/
2020-12-29 08:54:54 +00:00
OCA-git-bot
ff5e131893 contract 13.0.2.1.0 2020-12-29 08:54:06 +00:00
oca-travis
59df51c0f7 [UPD] Update contract.pot 2020-12-29 08:29:54 +00:00
Víctor Martínez
aa5f72c734 [IMP] contract: Add contract modification 2020-12-29 08:27:50 +01:00
OCA Transbot
378a0da5cc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-13.0/contract-13.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract/
2020-12-25 13:20:04 +00:00
OCA-git-bot
ee59815def contract 13.0.2.0.0 2020-12-25 13:19:18 +00:00
OCA-git-bot
9ce2be03fd [UPD] README.rst 2020-12-25 13:19:17 +00:00
oca-travis
737c67ea5f [UPD] Update contract.pot 2020-12-25 12:38:22 +00:00