I developed a custom module where I changed the behavior of _compute_amount method of account.invoice by adding a fixed amount to the amount_tax.
The problem is, when I confirm the invoice (draft to opened), only the amount_untaxed and the old amount_tax gets added to the move_line model.
How can I change the behavior of confirming a draft invoice in order to add my fixed amount?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2401
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Aug 24
|
5507 | ||
|
4
Jul 24
|
38820 | ||
Default value in form view
Solved
|
|
5
Apr 23
|
93756 | |
|
3
Nov 22
|
2959 | ||
|
3
Aug 22
|
3042 |