OCA Transbot
a52e1fe46d
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
4 years ago
OCA-git-bot
d7390063f7
contract 12.0.5.1.2
4 years ago
oca-travis
30429d8c70
[UPD] Update contract.pot
4 years ago
Andrea Cometa
c9cdb55c5d
Translated using Weblate (Italian)
Currently translated at 91.9% (204 of 222 strings)
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/it/
4 years ago
OCA Transbot
276ab27647
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
4 years ago
OCA-git-bot
2f2e3df248
contract 12.0.5.1.1
4 years ago
oca-travis
11f7d32c4c
[UPD] Update contract.pot
4 years ago
sbejaoui
74d7f4202f
[IMP] - improve code: unify methods argument _renew_create_line and _renew_extend_line
4 years ago
sbejaoui
61737ea920
[12.0][IMP] - extend contract line at renewal
4 years ago
sbejaoui
c7365b028f
[12.0][IMP] - add new option: create_new_line_at_contract_line_renew
Add a company config option to decide whether to create or to extend contract
line at renew action
4 years ago
OCA Transbot
659b91b0f0
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
4 years ago
OCA-git-bot
fa02bf13a9
contract 12.0.5.1.0
4 years ago
oca-travis
7df7f79702
[UPD] Update contract.pot
4 years ago
sbejaoui
a0d9fa2c99
[12.0][FIX] - raise an error when next invoice date before the last date invoiced
4 years ago
sbejaoui
294f92b7ac
[12.0][IMP] - Add failing test for next invoice date before the last date invoiced
4 years ago
Augusto D. Lisbôa
a33994fb4b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (216 of 216 strings)
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/pt_BR/
4 years ago
OCA Transbot
887be3f9fb
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
4 years ago
OCA-git-bot
bd08753cc6
contract 12.0.5.0.0
4 years ago
oca-travis
7c8aa7f9b6
[UPD] Update contract.pot
4 years ago
Stéphane Bidoul (ACSONE)
d9bd82241e
[IMP] contract: display invoicing offset
5 years ago
Bejaoui Souheil
7212fc4a13
[REF] contract: simplify _get_period_to_invoice
5 years ago
sbejaoui
5a46e97527
[IMP] contract: add unit test for different combinations for next invoicing period
5 years ago
Stéphane Bidoul (ACSONE)
8ba9033903
[REF] contract: rename _get_recurring_next_date as get_next_invoice_date
It is easier to understand. Also make it public.
5 years ago
Stéphane Bidoul (ACSONE)
5286520795
[REF] contract: make get_next_period_date_end public
Make it public because it is the core logic of the module.
Also, clarify that recurring_invoicing_type
and recurring_invoicing_offset are needed only when
we want the next period to be computed from a
user chosen next invoice date.
5 years ago
Stéphane Bidoul (ACSONE)
8b30ed0a3e
[REF] contract: make recurring_invoicing_offset a computed field
In preparation to making it user modifiable.
5 years ago
sbejaoui
a90e18b092
[FIX] contract: Improve unit tests
5 years ago
Stéphane Bidoul (ACSONE)
557097be2d
[IMP] contract: support pre-paid for monthlylastday
monthlylastday is (almost) not a special case anymore \o/.
montlylastday is simply a montly period where the
periods are aligned on month boundaries.
The last bit of special casing is that postpaid generates
invoice the day after the last dasy of the period, except
for monthlylastday where the invoice is generated on the
last day of the period. This last exception will disappear
when we put the offset under user control.
This is a breaking change because the post-paid/pre-paid
mode becomes relevant for monthlylastday invoicing.
The field becomes visible in the UI. Code that generate
monthlylastday contract lines must now correctly set
the pre-paid/post-paid mode too. Some tests have had
to be adapted to reflect that.
5 years ago
Stéphane Bidoul (ACSONE)
d53f01d66f
[REF] contract: remove one monthlylastday special case
get_relative_delta now works the same for all recurring rules.
Move the special case handling to _init_last_date_invoiced
which is used only for migration.
5 years ago
Stéphane Bidoul (ACSONE)
dd3f3a6c77
[FIX] contract: add missing dependency in computed field
5 years ago
Stéphane Bidoul (ACSONE)
7c3b9bcfa7
[REF] contract: re-add _compute_first_recurring_next_date
For backward compatibility
5 years ago
Stéphane Bidoul (ACSONE)
aff3781c92
[REF] contract: refactor _update_recurring_next_date
Reuse the logic that is now fully located in _get_recurring_next_date.
5 years ago
Martronic SA
01b5858dd0
Translated using Weblate (French)
Currently translated at 40.1% (85 of 212 strings)
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/fr/
5 years ago
Stéphane Bidoul (ACSONE)
83cb7c1d21
[REF] contract: refactor _get_period_to_invoice
Move the part of the logic that compute the next
period depending on the chosen next invoice date
to _get_next_period_date_end.
5 years ago
Stéphane Bidoul (ACSONE)
edf6833bec
[IMP] contract: add next period start/end fields
Add two computed field showing the next period
start and end date. This improve the UX and will
enable further simplifications in the code.
5 years ago
Stéphane Bidoul (ACSONE)
e6b9ea9ce7
[REF] contract: handle max_date_end in _get_recurring_next_date
This concentrates all next date calculation
logic in one place, and will allow further simplifications.
5 years ago
Stéphane Bidoul (ACSONE)
5bc895980e
[REF] contract: clarify _get_recurring_next_date
First compute the next period end date,
then derive the next invoice date from the next
period stard and end date.
5 years ago
Stéphane Bidoul (ACSONE)
5ee13d4cbd
[REF] contract: rename misnamed methods
5 years ago
OCA Transbot
09436a1b1c
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
5 years ago
oca-travis
ab325387f9
[UPD] Update contract.pot
5 years ago
Bole
7f776b34f1
Translated using Weblate (Croatian)
Currently translated at 22.2% (47 of 212 strings)
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/hr/
5 years ago
Pedro M. Baeza
8392d61221
[FIX] contract: Tests with duplicated name
So they are not executed at all. Detected by chance looking for a test for the other PR.
5 years ago
Pedro M. Baeza
d415e44ff7
[FIX] contract: Don't execute onchange after invoice creation
Using that approach (that is the current one in core) has a lot of side effects and
performance bottlenecks. You can read odoo/odoo#40156 for summarizing them.
This also improves the handling of the values of payment term an fiscal position
for using the partner ones if not set.
5 years ago
Pedro M. Baeza
00d71f96f5
[MIG][FIX] contract: Move contracts, but disable them
There were an error in previous query for moving only contracts with the mark checked,
but it's also more logic to move them, but remain them disabled.
5 years ago
OCA-git-bot
9d052558b9
contract 12.0.4.2.5
5 years ago
Sergio Teruel
e0ff2922ff
[IMP] contract: Fix test crash with other modules
5 years ago
Bole
47a4b8e51a
Translated using Weblate (Croatian)
Currently translated at 21.7% (46 of 212 strings)
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/hr/
5 years ago
Pedro M. Baeza
6b21d99c61
[MIG] contract: No contract on AA without recurring invoices flag
Don't transfer to contract those analytic accounts with the "Recurring invoicing" flag
unchecked.
5 years ago
sbejaoui
3b79dea3eb
[IMP] - Add contract tags
5 years ago
OCA Transbot
2539ed1cbe
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
5 years ago
OCA-git-bot
d7b5d9cb9c
contract 12.0.4.2.4
5 years ago