Commit Graph

614 Commits

Author SHA1 Message Date
Víctor Martínez
06f8a48316 [IMP] contract: Remove buttons from contract lines if recurrence is not per line
If we manage the contract at header level, we must set the end date and last invoice
date there, otherwise data will be inconsistent.

TT48273
2024-03-16 11:14:56 +01:00
OCA-git-bot
3168f42611 [BOT] post-merge updates 2024-03-15 07:34:02 +00:00
OCA-git-bot
74a6b0e551 Merge PR #1059 into 16.0
Signed-off-by pedrobaeza
2024-03-15 07:30:32 +00:00
Pedro M. Baeza
9c28cc3d71 [FIX] contract: Fix modifications layout
On the migration to v16, the primary layout view was incorrectly
removed. It's needed because of 2 reasons:

- It's referenced in the following template doing a t-call. Well, this
  one can be avoided calling the new layout upstream template, but...
- This layout is done for placing some extra content (the modifications
  table), as part of the layout that is not shown in the chatter for
  avoiding noise.

We recreate this template inheriting the new layout template, and
adapting it properly.

TT45646
2024-03-14 13:25:25 +01:00
Houzéfa Abbasbhay
df881dd3ef Translated using Weblate (French)
Currently translated at 100.0% (314 of 314 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/fr/
2024-03-13 13:45:56 +00:00
Alicia Garzo Moreno
fc4fe95efc [16.0][IMP] contract and contract_sale_generation: Add translations 2024-03-11 15:45:15 +01:00
mymage
6c900c92cf Translated using Weblate (Italian)
Currently translated at 85.6% (269 of 314 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2024-03-05 17:35:29 +00:00
Grégory Moka Tourisme
3e0a37242a Translated using Weblate (French)
Currently translated at 87.3% (145 of 166 strings)

Translation: contract-16.0/contract-16.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-subscription_oca/fr/
2024-02-28 20:33:49 +00:00
Grégory Moka Tourisme
8b1dcc9496 Added translation using Weblate (French) 2024-02-28 17:19:00 +00:00
OCA-git-bot
e6be7d538e [BOT] post-merge updates 2024-02-20 19:04:49 +00:00
oca-ci
81498c65ba [UPD] Update subscription_oca.pot 2024-02-20 19:01:33 +00:00
OCA-git-bot
56195b6d66 Merge PR #1029 into 16.0
Signed-off-by dreispt
2024-02-20 18:58:39 +00:00
mymage
77ecde9e92 Translated using Weblate (Italian)
Currently translated at 85.6% (269 of 314 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2024-02-20 15:36:59 +00:00
OCA-git-bot
8436099ca3 [BOT] post-merge updates 2024-02-15 18:37:51 +00:00
OCA-git-bot
ae33d7c20e Merge PR #1050 into 16.0
Signed-off-by pedrobaeza
2024-02-15 18:34:40 +00:00
Pedro M. Baeza
247072d1c2 [IMP] contract: Protect line recurrrency change
If you have defined several contract lines, each one with their
recurrency information, unmarking the check "Line recurrency" by mistake
and saving will make you lose the configuration in one shot, and also
modify the invoceability conditions.

Thus, it's reasonable to avoid to uncheck the mark once you have at
least one invoice issued for a contract with this mark checked.

TT47015
2024-02-13 18:54:04 +01:00
OCA-git-bot
bb21d9d208 [BOT] post-merge updates 2024-02-13 08:21:34 +00:00
OCA-git-bot
eff9351442 Merge PR #1048 into 16.0
Signed-off-by pedrobaeza
2024-02-13 08:18:15 +00:00
fkantelberg
d62dede084 [16.0] contract: Show discount lines for users with the group 'Discount on lines' 2024-02-12 12:43:46 +01:00
Carol
e9732f2906 [IMP] subscription_oca: tests adjustments 2024-02-07 16:07:04 +01:00
Ilyas
1deb0b58e9 [IMP] subscription_oca: tests 2024-02-07 13:35:04 +01:00
Carol
b9d9cd5725 [MIG] subscription_oca: Migration to 16.0 2024-02-07 13:34:04 +01:00
Pedro M. Baeza
76d5ff281b Merge pull request #1045 from initOS/16.0-contract-mig-in-post
[16.0][OU-FIX] contract: Move migration to post migration
2024-02-01 08:31:39 +01:00
fkantelberg
47d2ac2b24 [FIX] contract: Move migration to post migration 2024-02-01 08:21:13 +01:00
Weblate
9e2d9178a6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/
2024-01-30 18:04:41 +00:00
OCA-git-bot
2583072ddd [BOT] post-merge updates 2024-01-30 18:04:26 +00:00
oca-ci
116e8d2204 [UPD] Update contract.pot 2024-01-30 18:01:09 +00:00
OCA-git-bot
89c30df188 Merge PR #1042 into 16.0
Signed-off-by pedrobaeza
2024-01-30 17:58:20 +00:00
Víctor Martínez
5ecd025410 [FIX] contract: Change web_ribbon text to title to make it translatable 2024-01-30 08:56:16 +01:00
mymage
556b5743b9 Translated using Weblate (Italian)
Currently translated at 85.6% (269 of 314 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2024-01-25 15:36:09 +00:00
Weblate
5a79b691f3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract_variable_quantity
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_variable_quantity/
2024-01-09 01:15:18 +00:00
OCA-git-bot
3b00d2e654 [BOT] post-merge updates 2024-01-08 23:46:58 +00:00
oca-ci
af1b1a3572 [UPD] Update contract_variable_quantity.pot 2024-01-08 23:43:44 +00:00
OCA-git-bot
a55defa549 Merge PR #1027 into 16.0
Signed-off-by pedrobaeza
2024-01-08 23:40:32 +00:00
Carolina Fernandez
ae8947af62 [MIG] contract_variable_quantity: Migration to 16.0 2024-01-05 11:12:09 -03:00
Carolina Fernandez
276c86f9f3 [IMP] contract_variable_quantity: pre-commit stuff 2024-01-05 11:07:39 -03:00
Víctor Martínez
aa78b00e21 [MIG] contract_variable_quantity: Migration to 15.0
TT40289
2024-01-05 11:07:39 -03:00
Víctor Martínez
1d6cec8247 [MIG] contract_variable_quantity: Migration to 14.0
[UPD] Update contract_variable_quantity.pot

[UPD] README.rst
2024-01-05 11:07:38 -03:00
Víctor Martínez
4916a11ed7 [IMP] contract_variable_quantity: black, isort, prettier 2024-01-05 11:07:38 -03:00
angelmoya
5c0c07ecb6 FIX variable quantity view 2024-01-05 11:07:38 -03:00
Víctor Martínez
a7e6481dde [IMP] contract_variable_quantity: Add qty_type field in portal 2024-01-05 11:07:38 -03:00
Carlos Roca
b6332aa96c [MIG] contract_variable_quantity: Migration to v13 2024-01-05 11:07:38 -03:00
Carlos Roca
ee16520039 [IMP] contract_variable_quantity: black, isort, prettier 2024-01-05 11:07:38 -03:00
Ernesto Tejeda
ee541c0faa [IMP] contract: add section and notes in contract line 2024-01-05 11:07:38 -03:00
Pedro M. Baeza
079d6297de [IMP] contract: remove redundant method
I have detected a method that was created as redundant and with the same
technique used when preparing the line values, so better to have
everything together in the same method instead of having it spread.
2024-01-05 11:07:38 -03:00
Pedro M. Baeza
aac05b9fcf [FIX] contract_variable_quantity: Allow to propagate variable qty fields from template
**Steps to reproduce the problem**

- Define a contract template with one line with variable quantity and formula.
- Use that template in a new contract.
- Variable quantity type and formula are not transferred from template to contract.

This is due to the lack of that fields in the tree view that prevents web client to fetch
and store them.

We solve it adding those fields to the contract line tree view, also providing some
visibility logic for not showing the corresponding fields according the type.

No regression tests is provided, as this is only reproducible with web client, not through
code.
2024-01-05 11:07:38 -03:00
sbejaoui
0023d67ab4 [FIX] - redundant fields in contract line form view 2024-01-05 11:07:38 -03:00
Alexandre Fayolle
c0e67d67d2 [FIX] add missing newlines in readme files 2024-01-05 11:07:38 -03:00
sbejaoui
ffbc6d713a [12.0][REF] - Contract Variable quantity: split from analytic accoun 2024-01-05 11:07:38 -03:00
sbejaoui
3171516127 [REF] - Use method _get_quantity_to_invoice. 2024-01-05 11:07:38 -03:00