Files
odoo_source/addons
Victor Feyens aa9dcc2bce [REF] sale,*: invoicing wizard
1) Invoicing wizard refactoring

* reduce the use of context in the business logic,
  store the orders being invoiced
* factorize invoice creation values, using the correct method from
  the sale.order model
* switch from default fields to computed fields, and avoid computing
  unnecessary fields when the wizard is opened to invoice multiple
  orders together (most fields are only used for down payments)
* Rely on python constraints instead of error messages scattered
  accross business methods to notify the user that the invoice cannot be
  created.
* Clean the code to make it easier to follow, understand and maintain

2) Distinguish Down Payment Invoice lines from standard ones

(with a dedicated field)

Allows to stop relying on the dumb property,
not specifically reliable, e.g. if the down payment product is modified
in the settings after down payments orders were already created.

closes odoo/odoo#98600

Related: odoo/enterprise#30653
Related: odoo/upgrade#3799
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-09-02 23:15:44 +02:00
..
2022-09-01 19:17:11 +02:00
2022-08-30 03:44:56 +02:00
2022-09-01 19:16:47 +02:00
2022-09-01 21:25:29 +02:00
2022-08-30 20:22:04 +02:00
2022-09-02 14:17:59 +02:00
2022-09-02 23:15:44 +02:00
2022-08-08 12:33:03 +02:00
2022-08-30 17:10:14 +02:00