sale_note_flow: flow is lost when invoicing on delivery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sales - Reports |
New
|
Undecided
|
Alexandre Fayolle - camptocamp |
Bug Description
when invoicing on delivery, the flow of information for SO to invoice is lost.
Here's a snippet I introduced in a custom module to work around this:
class stock_picking(
_inherit = 'stock.picking'
def _prepare_
values = super(stock_
if picking.sale_id:
order = picking.sale_id
return values
def _prepare_
values = super(stock_
if move_line.
return values
I'll do a proper MP as soon as time allows.