-
- Downloads
[IMP] purchase: make billing consitent with sale invoicing
========
Purpose
========
Currently, purchase missing some billing functions that we have in sale
invoicing:
- Create credit note when necessary
- Create vendor bill in batch in list view
========
Spec
========
- In case of retures, when create a bill for a purchase order, we check
the total amount we want to bill to decide whether it's a vendor bill or
a credit note.
- In the list view, add a new action to create vendor bill/credit note
for all selected order.
========
Links
========
Task 2170715
PR #44210
Related: odoo/upgrade#919
Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
Showing
- addons/purchase/models/account_invoice.py 3 additions, 5 deletionsaddons/purchase/models/account_invoice.py
- addons/purchase/models/purchase.py 150 additions, 53 deletionsaddons/purchase/models/purchase.py
- addons/purchase/tests/__init__.py 1 addition, 0 deletionsaddons/purchase/tests/__init__.py
- addons/purchase/tests/test_access_rights.py 13 additions, 11 deletionsaddons/purchase/tests/test_access_rights.py
- addons/purchase/tests/test_purchase_invoice.py 263 additions, 0 deletionsaddons/purchase/tests/test_purchase_invoice.py
- addons/purchase/views/purchase_views.xml 14 additions, 2 deletionsaddons/purchase/views/purchase_views.xml
- addons/purchase_stock/models/purchase.py 4 additions, 4 deletionsaddons/purchase_stock/models/purchase.py
- addons/stock_landed_costs/tests/test_stockvaluationlayer.py 7 additions, 9 deletionsaddons/stock_landed_costs/tests/test_stockvaluationlayer.py
Loading
Please register or sign in to comment