Commit Graph

498 Commits

Author SHA1 Message Date
sbejaoui
18649ec0c2 [IMP] - Create contract on sale order confirmation
- On Sale Order confirmation, a contract is created for each contract template used on sale order lines
- A not finished contract can be mentioned on sale order line
- A sale order line linked to a contract will update it and don't create a new one if it had the same template
2024-05-06 17:49:07 +02:00
sbejaoui
284dc91764 [IMP] - Add recurrence fields to product template and sale order line 2024-05-06 17:49:07 +02:00
sbejaoui
2547187728 [IMP] - Change dependencies to contract_sale 2024-05-06 17:49:07 +02:00
sbejaoui
187ca1f4ce [IMP] - Product with is_contract can be only of type service 2024-05-06 17:49:07 +02:00
sbejaoui
84e77bc312 [MIG] - Product Contract Migration to 12.0 2024-05-06 17:49:07 +02:00
Florent THOMAS
b290dc98d1 [FIX] contract_sale_generation: it doesn't create sales (#141)
* Change the method called in the view
* Complete the create_invoice method
* Bump version + authoring
* Correct bad call of method
  Small Documentation
* Add super call in python test
* FIX bad field names causing bad quantities in sale.order.line
2024-05-06 17:49:07 +02:00
Dave Lasley
58b3d9987f [FIX] product_contract: Fix mock usage in tests 2024-05-06 17:49:07 +02:00
Ted Salmon
85adab23c5 [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2024-05-06 17:49:07 +02:00
mymage
bcf7bd7d0e 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-05-06 15:34:21 +00:00
oca-git-bot
6de622843d [IMP] update dotfiles 2024-05-01 16:21:51 +00:00
Ivorra78
14e001d053 Translated using Weblate (Spanish)
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/es/
2024-04-24 10:35:28 +00:00
Weblate
5ad08b4a8a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_sale/
2024-04-21 00:35:01 +00:00
OCA-git-bot
c7af3395a5 [BOT] post-merge updates 2024-04-20 22:26:14 +00:00
OCA-git-bot
0f7079b366 Merge PR #1074 into 17.0
Signed-off-by pedrobaeza
2024-04-20 22:22:31 +00:00
OCA-git-bot
6cbe28562e [BOT] post-merge updates 2024-04-17 19:32:33 +00:00
OCA-git-bot
6b4566bc6c Merge PR #1075 into 17.0
Signed-off-by pedrobaeza
2024-04-17 19:29:42 +00:00
Alicia Garzo Moreno
9145184622 [17.0][IMP] contract: solve error for last_date_invoiced field 2024-04-15 20:19:11 +02:00
jaydeep32
978b98e3e8 [MIG] contract_sale: Migration to 17.0 2024-04-15 12:24:25 -04:00
jaydeep32
8c06467525 [IMP] contract_sale: pre-commit auto fixes 2024-04-15 12:24:25 -04:00
fkantelberg
54353c07a1 [16.0] contract: Show discount lines for users with the group 'Discount on lines' 2024-04-15 12:24:25 -04:00
Miquel Alzanillas
58a91960c0 Added translation using Weblate (Catalan (ca_ES)) 2024-04-15 12:24:25 -04:00
Christopher Rogos
54356a93a0 [FIX] Update sale menu sequence and remove auto install 2024-04-15 12:24:25 -04:00
Christopher Rogos
404837cfda [MIG] contract_sale: Migration to 16.0 2024-04-15 12:24:25 -04:00
Alba Riera
2ee1235c36 [FIX] contract: change where security is given to group_account_invoice: from contract_sale to contract 2024-04-15 09:03:38 -04:00
Denis Roussel
713fb6ad4d [FIX] contract_sale: Good test import 2024-04-15 09:03:38 -04:00
Joan Mateu Jordi
a771a99071 [15.0][MIG] contract_sale: Migration to 15.0 2024-04-15 09:03:38 -04:00
Joan Mateu Jordi
bbb9c8d969 [14.0][ADD] contract_sale: Add tests to the module 2024-04-15 09:03:38 -04:00
Joan Mateu Jordi
8efda30e67 [14.0][FIX] Fixed the record contract_modification at .csv file 2024-04-15 09:03:38 -04:00
Ignacio Buioli
8eb86266a6 Added translation using Weblate (Spanish (Argentina)) 2024-04-15 09:03:38 -04:00
dsolanki
27822115f8 [14.0][MIG] contract_sale 2024-04-15 09:03:38 -04:00
Víctor Martínez
b07ea498e9 [MIG] contract_sale: Migration to 13.0 2024-04-15 09:03:38 -04:00
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