Commit Graph

417 Commits

Author SHA1 Message Date
Víctor Martínez
7a40a32b1a [IMP] contract_sale: black, isort, prettier 2024-04-15 09:03:38 -04:00
Maxime Chambreuil
72b44fb86c Translated using Weblate (Spanish (Chile))
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-12.0/contract-12.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_sale/es_CL/
2024-04-15 09:03:38 -04:00
Ernesto Tejeda
1af44d5538 [IMP] contract: add section and notes in contract line 2024-04-15 09:03:38 -04:00
Nelson Ramírez Sánchez
e1a15863ea Added translation using Weblate (Spanish (Chile)) 2024-04-15 09:03:38 -04:00
Enrique
be5eb15094 [12.0][FIX] contract & contract_sale - security fix
The lowest model access for contract.contract model is group_account_invoice group. However the addon adds two smart buttons to res.partner view without any security restrictions and without compute_sudo attribute on computed fields.
This causes the view to crash when a user without the proper permissions tries to access the res.partner form view.
The solution adds groups_id to the partner form views in which the buttons are added, so the only loads when the user has proper permissions.
Other way to solve it would be to add compute_sudo attribute to the relevant fields, but this causes an access error when the user clicks on the smart buttons.
2024-04-15 09:03:38 -04:00
sbejaoui
56338c1031 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2024-04-15 09:03:38 -04:00
Thomas Binsfeld
b6c15d5f1b [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2024-04-15 09:03:38 -04:00
sbejaoui
1bf680aec3 [IMP] - Adapt contract sale to contract new views 2024-04-15 09:03:38 -04:00
黎伟杰
c1ed5b59c2 Added translation using Weblate (Chinese (Simplified)) 2024-04-15 09:03:38 -04:00
Marta Vázquez Rodríguez
dcda9ccb56 Added translation using Weblate (Galician) 2024-04-15 09:03:38 -04:00
sbejaoui
515fa5f788 [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2024-04-15 09:03:38 -04:00
sbejaoui
3dee9b2088 [MIG] contract_sale: Migration to 12.0 2024-04-15 09:03:38 -04:00
Pedro M. Baeza
c54a40401a [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2024-04-15 09:03:38 -04:00
Levent Karakaş
bdc2ae13ca [MIG] contract_sale: Migration to 11.0 2024-04-15 09:03:38 -04:00
Luis M. Ontalba
2c25851964 [ADD] contract_sale (#104) 2024-04-15 09:03:38 -04:00
mymage
6231215e2d Translated using Weblate (Italian)
Currently translated at 100.0% (314 of 314 strings)

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/it/
2024-04-11 11:36:51 +00:00
Weblate
ab4279fcac Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/
2024-04-10 18:18:47 +00:00
OCA-git-bot
83122155a8 [BOT] post-merge updates 2024-04-10 18:08:39 +00:00
oca-ci
387da2e2aa [UPD] Update contract.pot 2024-04-10 18:04:58 +00:00
OCA-git-bot
f8c982c992 Merge PR #1067 into 17.0
Signed-off-by pedrobaeza
2024-04-10 18:02:26 +00:00
Christopher Rogos
d1cb9312ae [MIG] contract: Migration to 17.0 2024-04-10 16:23:33 +00:00
Christopher Rogos
fcaddfcb46 [IMP] contract: black, isort, prettier 2024-04-03 07:12:05 +00:00
Alicia Garzo Moreno
ef13064deb [16.0][IMP] contract and contract_variable_quantity: improve visual of contract lines 2024-04-03 07:11:18 +00:00
Alicia Garzo Moreno
cffdb62a23 [16.0][IMP] contract: improve visual 2024-03-23 15:10:12 +00:00
Francesco Foresti
f6872802a7 Translated using Weblate (Italian)
Currently translated at 85.7% (270 of 315 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-23 15:10:12 +00:00
Víctor Martínez
4863bb1871 [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-23 15:10:12 +00:00
Pedro M. Baeza
70dadf7342 [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-23 15:10:12 +00:00
Houzéfa Abbasbhay
479abfb077 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-23 15:10:12 +00:00
Alicia Garzo Moreno
67ee8444bc [16.0][IMP] contract and contract_sale_generation: Add translations 2024-03-23 15:10:12 +00:00
mymage
d22ee1cb34 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-23 15:10:12 +00:00
Pedro M. Baeza
6ffeadf949 [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-03-23 15:10:12 +00:00
fkantelberg
8c396c4c39 [16.0] contract: Show discount lines for users with the group 'Discount on lines' 2024-03-23 15:10:12 +00:00
fkantelberg
f5edbe9fe5 [FIX] contract: Move migration to post migration 2024-03-23 15:10:12 +00:00
Víctor Martínez
b5210b20bc [FIX] contract: Change web_ribbon text to title to make it translatable 2024-03-23 15:10:12 +00:00
mymage
83c79ea124 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-23 15:10:12 +00:00
fkantelberg
d239c4fd85 [MIG] contract: Remove analytic_account_id and add migration 2024-03-23 15:10:12 +00:00
fkantelberg
d6c9c287f6 [FIX] Show analytic distribution and hide analytic account 2024-03-23 15:10:12 +00:00
mymage
b4989403f0 Translated using Weblate (Italian)
Currently translated at 85.7% (270 of 315 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-23 15:10:12 +00:00
Rémi
4b6105cda4 Translated using Weblate (French)
Currently translated at 97.4% (307 of 315 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-23 15:10:12 +00:00
Francesco Foresti
94dd0a84fc Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 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-23 15:10:11 +00:00
mymage
c7e218be6b Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 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-23 15:10:11 +00:00
Thijs van Oers
dbf83c1ea9 Translated using Weblate (Dutch)
Currently translated at 90.4% (285 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/nl/
2024-03-23 15:10:11 +00:00
Alessandro Fiorino
4fa7dff92f Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 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-23 15:10:11 +00:00
Jose Suniaga [Vauxoo]
f664cb1730 [FIX] contract: removed dateutil from dependencies
Since Odoo 16.0 has included dateutil on its dependencies,
loading dateutil from here is generating Warning in Odoo.sh
deployments
2024-03-23 15:10:11 +00:00
Alessandro Fiorino
3acfa28057 Translated using Weblate (Italian)
Currently translated at 63.1% (199 of 315 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-23 15:10:11 +00:00
mymage
ffa1e5989d Translated using Weblate (Italian)
Currently translated at 60.0% (189 of 315 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-23 15:10:11 +00:00
Adriano Prado
6f92e22b68 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (316 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/pt_BR/
2024-03-23 15:10:11 +00:00
mymage
ca5a2a973d Translated using Weblate (Italian)
Currently translated at 59.8% (189 of 316 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-23 15:10:11 +00:00
fkantelberg
cf36d389e0 [FIX] No contract line and invoices when contract is archived 2024-03-23 15:10:11 +00:00
Adriano Prado
d632ea3ae2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 78.4% (248 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/pt_BR/
2024-03-23 15:10:11 +00:00