Commit Graph

456 Commits

Author SHA1 Message Date
sbejaoui
a42a1fbbca [IMP] - Add unit test 2023-11-09 15:05:40 +01:00
sbejaoui
8bb36ab188 [FIX] - fix unit tests 2023-11-09 15:05:40 +01:00
sbejaoui
02f338ac5b [IMP] - update invoice_line vals only if it is not null 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
cae46a4cc1 [ADD] Product Contract: payment term 2023-11-09 15:05:40 +01:00
sbejaoui
5f30846810 [FIX] - fix flake8 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
e7df781daa [REF] Contract Product: invoice in prepare_invoice_line is optional 2023-11-09 15:05:40 +01:00
sbejaoui
41b6db34f8 [IMP] - show related sale orders in contract form 2023-11-09 15:05:40 +01:00
sbejaoui
a5cd06bebb [IMP] - get contract user from sale order user 2023-11-09 15:05:40 +01:00
sbejaoui
5a0f24bd6e [REM] - Remove unused method 2023-11-09 15:05:40 +01:00
sbejaoui
07d104c245 [IMP] - _prepare_contract_value for sale order confirm 2023-11-09 15:05:40 +01:00
sbejaoui
758eac6f1e [FIX] - include date_end in the period if the product is_autorenew 2023-11-09 15:05:40 +01:00
sbejaoui
a5fc170e61 [IMP] - hide recurring_invoicing_type if recurring_rule_type is monthlylastday
for the monthlylastday case, pre-paid is logicly impossible,
if monthlylastday is set, we consider only post-paid case
2023-11-09 15:05:40 +01:00
sbejaoui
d081d7e067 [FIX] - fix onchange 2023-11-09 15:05:40 +01:00
sbejaoui
1426baa447 [FIX] - on upsel, contract line should stop day - 1 2023-11-09 15:05:40 +01:00
sbejaoui
c218efbd16 [IMP] - link contract line and its successor in upsel case 2023-11-09 15:05:40 +01:00
sbejaoui
8abbd4a3fd [IMP] - compute date end onchange date start for auto-renew sale order lines 2023-11-09 15:05:40 +01:00
sbejaoui
4ce0cb8780 [ADD] - Add renewal process with termination notice 2023-11-09 15:05:39 +01:00
sbejaoui
4db2c556ae [IMP] - Upsell/Downsell contract from sale order 2023-11-09 15:05:39 +01:00
sbejaoui
1875a60067 [FIX] - Compute recurring_next_date before create contract line 2023-11-09 15:05:39 +01:00
sbejaoui
534f6a310a [FIX] - Change website to OCA repository url and prefix module name with Recurring 2023-11-09 15:05:39 +01:00
sbejaoui
6762d120e8 [IMP] - Onchange contract product on contract contract and contract template 2023-11-09 15:05:39 +01:00
sbejaoui
513d7540dc [ADD] - Add readme directory 2023-11-09 15:05:39 +01:00
sbejaoui
3679d75dc8 [FIX] - Default value for date_start applied on product change 2023-11-09 15:05:39 +01:00
sbejaoui
5d626d6385 [IMP] - Contract product are ignored on invoicing process
- Sale order line for contract product pass to nothing to invoice on order confirmation
- Contract Invoices are linked to sale order line
2023-11-09 15:05:39 +01:00
sbejaoui
06ec626e2a [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2023-11-09 15:05:39 +01:00
sbejaoui
9d64e6f21a [IMP] - Link contract line to sale order line 2023-11-09 15:05:39 +01:00
sbejaoui
dc2b4aed7d [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
2023-11-09 15:05:39 +01:00
sbejaoui
8b52763d8d [IMP] - Add recurrence fields to product template and sale order line 2023-11-09 15:05:39 +01:00
sbejaoui
cf9131a177 [IMP] - Change dependencies to contract_sale 2023-11-09 15:05:39 +01:00
sbejaoui
981fc8ef77 [IMP] - Product with is_contract can be only of type service 2023-11-09 15:05:39 +01:00
sbejaoui
1bb25a2f98 [MIG] - Product Contract Migration to 12.0 2023-11-09 15:05:39 +01:00
Florent THOMAS
fc4cdef641 [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
2023-11-09 15:05:39 +01:00
Dave Lasley
a1aef2af38 [FIX] product_contract: Fix mock usage in tests 2023-11-09 15:05:39 +01:00
Ted Salmon
7bbfbe1967 [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2023-11-09 15:05:39 +01:00
Alessandro Fiorino
f27aefee28 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/
2023-11-08 21:38:41 +00:00
OCA-git-bot
0fda3e471b [BOT] post-merge updates 2023-11-08 21:21:47 +00:00
OCA-git-bot
e78a02e4e2 Merge PR #1021 into 16.0
Signed-off-by pedrobaeza
2023-11-08 21:17:34 +00:00
Jose Suniaga [Vauxoo]
6c0f22efe2 [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
2023-11-08 13:41:44 -06:00
Alessandro Fiorino
4a15dbb7ca 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/
2023-11-08 18:39:11 +00:00
mymage
504585214f 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/
2023-10-31 09:38:35 +00:00
Weblate
8539264fdc 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/
2023-10-29 07:10:12 +00:00
Adriano Prado
a515184f0b 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/
2023-10-29 07:10:09 +00:00
mymage
4994fa32b7 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/
2023-10-29 07:10:09 +00:00
Adriano Prado
89589804e4 Added translation using Weblate (Portuguese (Brazil)) 2023-10-29 07:10:09 +00:00
oca-ci
7204d0719a [UPD] Update contract.pot 2023-10-27 22:21:08 +00:00
oca-git-bot
3112fd4b70 [IMP] update dotfiles 2023-10-27 22:45:54 +02:00
Adriano Prado
38b355709f 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/
2023-10-13 12:42:50 +00:00
mymage
f9257475b5 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/
2023-10-12 09:40:48 +00:00
Ivorra78
2c2183400f Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-16.0/contract-16.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_payment_mode/es/
2023-10-10 22:58:16 +00:00
Weblate
360c25f394 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_payment_mode/
2023-10-10 04:02:05 +00:00