Commit Graph

11 Commits

Author SHA1 Message Date
Francisco Ivan Anton Prieto
0853330308 [IMP] contract: black, isort, prettier 2021-11-09 10:08:21 +07:00
Pedro M. Baeza
9ed0486d44 [MIG] contract: Migration to 13.0
- Standard procedure
- Adapt invoice creation to new account.move
- Tests adapted
2021-11-09 10:08:01 +07:00
Pedro M. Baeza
92a4e7781e [IMP] : black, isort, prettier 2021-11-09 10:08:01 +07:00
Pedro M. Baeza
4b4a7b7571 [FIX] contract: Delete cascade line wizard
For avoiding problems while trying to remove the contract/contract line
2021-11-09 10:08:01 +07:00
sbejaoui
8f0987dce4 [IMP] - contract termination 2021-11-09 10:08:01 +07:00
sbejaoui
b88b9eec95 [12.0][IMP] - Add an action for contracts manual invoicing
It happen that a company has to trigger the invoicing action to generate invoices before
the scheduled date (to print and prepare invoices documents, check invoices, etc.).
This requires technical access for end users with the risk that this represents.

This commit adds a new wizard to run the invoicing action for a given date with a helper
to see and check the contract that will be invoiced. When the manual action is called,
the system displays all created invoices.

[12.0][IMP] - log the manual invoice action in contract chatter

[IMP] - Add alink to the invoice in contract message at manual invoicing

[IMP] - Improve code

[FIX] - log message for invoice creation only when there is an invoice

[IMP] - split the manual invoice menu into to menus sale & purhcase

[IMP] - hide invoice button if there is nothing to invoice
2021-11-09 10:08:01 +07:00
Thomas Binsfeld
bfe3154377 [REF] Contract: split from analytic account 2021-11-09 10:07:59 +07:00
sbejaoui
7d69fcb386 [ADD] - Add more value for auto_renew_rule_type
[REF] - refactoring for compute_first_date_end

[RMV] - remove auto_renew_rule_type option monthlylastday

[IMP] - rename manual_renew_needed label

[IMP] - use get_product_multiline_description_sale to get contract line description
2021-11-09 10:07:59 +07:00
sbejaoui
b3ebba4aa1 [IMP] - Replace is_suspended flag by manual_renew_needed
Add a computed field for the first date of the termination notice period

Adapt state compute and search method

[IMP] - Improve unit tests
2021-11-09 10:07:59 +07:00
sbejaoui
fdbedb602d [IMP] - Link invoice line to contract lines
[IMP] - Add index on contract line

[IMP] - Add is_suspended flag and _search_state

[IMP] - Add is_suspended flag to stop contract line
2021-11-09 10:07:59 +07:00
sbejaoui
b5c38415d4 [12.0][IMP] - Add strat/stop wizard to contract line
[12.0][IMP] - Add pause button to contract line

[IMP] - Add state filed in contract line form

[FIX] - stop don't change date_end for finished contract line

[IMP] - Change contract line buttons visibility

Add renewal process with termination notice

[FIX] - don't consider stop_date If it is after the contract line end_date

[IMP] - consider more cases in stop_plan_successor

[IMP] - cancel upcoming line on stop

[IMP] - Chnage next invoice date on un-cancel

[IMP] - Post message in contract on contract line actions

[IMP] - check contract line overlap
2021-11-09 10:07:58 +07:00