Nikul Chaudhary
32a41ce72b
Merge pull request #2 from ursais/12.0-imp-contract_sale_invoicing
[IMP] contract_sale_invoicing
5 years ago
Maxime Chambreuil
20cb8e89f0
[IMP] contract_sale_invoicing
5 years ago
Maxime Chambreuil
c91a170ffc
[IMP] contract_sale_invoicing
# Conflicts:
# contract_sale_invoicing/models/contract.py
5 years ago
Maxime Chambreuil
01a907eb04
Merge branch '12-rfc-contract_sale' of github.com:nikul-serpentcs/contract into 12.0-imp-contract_sale_invoicing
# Conflicts:
# contract_sale_invoicing/models/contract.py
5 years ago
Nikul Chaudhary
da76db0522
[RFC] contract_sale v12
5 years ago
Maxime Chambreuil
a99f1d3c72
[FIX] contract_sale_invoicing
5 years ago
Maxime Chambreuil
6352e3355c
[FIX] contract_sale
5 years ago
Nikul Chaudhary
26d8f86312
[IMP] Improved Code base on comments
5 years ago
Nikul Chaudhary
aa0b538851
[FIX] Fixed Travis
5 years ago
Nikul Chaudhary
304fd6c4b4
[FIX] Fixed Code
5 years ago
Nikul Chaudhary
54dd83f6ba
[FIX] Fixed contract code
5 years ago
Nikul Chaudhary
3bbd14518c
[FIX] Fixed Travis
5 years ago
Nikul Chaudhary
17533bd89b
[FIX] Fixed Travis
5 years ago
Nikul Chaudhary
89097b52d9
[RFC] contract_sale v12
5 years ago
Nikul Chaudhary
c52eaf645f
[RFC] contract_sale v12
5 years ago
OCA-git-bot
c677201ad4
agreement_legal 12.0.1.1.1
5 years ago
OCA-git-bot
41b6553839
contract_variable_quantity 12.0.2.1.1
5 years ago
OCA-git-bot
bc89f74501
contract_sale_invoicing 12.0.1.0.2
5 years ago
OCA-git-bot
31d2102f4d
Merge PR #394 into 12.0
Signed-off-by max3903
5 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/
5 years ago
OCA-git-bot
e07ebbe2f7
contract_sale_mandate 12.0.2.0.0
5 years ago
OCA-git-bot
bd08753cc6
contract 12.0.5.0.0
5 years ago
OCA-git-bot
7a0c2ee100
product_contract 12.0.3.0.0
5 years ago
oca-travis
7c8aa7f9b6
[UPD] Update contract.pot
5 years ago
OCA-git-bot
755a03562b
Merge PR #434 into 12.0
Signed-off-by pedrobaeza
5 years ago
sbejaoui
ab4ed31e39
[IMP] - Set recurring_invoicing_type for existing products set to monthlylastday
5 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
d89b2abe41
Translated using Weblate (French)
Currently translated at 92.7% (38 of 41 strings)
Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/fr/
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-git-bot
debf048f7f
[ADD] setup.py
5 years ago
OCA-git-bot
1c8bd55539
[ADD] icon.png
5 years ago
OCA-git-bot
21c0bace47
[UPD] README.rst
5 years ago
oca-travis
c6fd1ef911
[UPD] Update contract_forecast.pot
5 years ago
OCA-git-bot
3e3ef1a3c4
Merge PR #283 into 12.0
Signed-off-by sbejaoui
5 years ago