Add patch for issue3934
This commit is contained in:
parent
4669c728d5
commit
b7e89dfb71
|
@ -0,0 +1,18 @@
|
|||
Index: trytond/trytond/modules/account_invoice_stock/account.py
|
||||
===================================================================
|
||||
|
||||
--- a/trytond/trytond/modules/account_invoice_stock/account.py
|
||||
+++ b/trytond/trytond/modules/account_invoice_stock/account.py
|
||||
@@ -13,9 +13,9 @@
|
||||
__name__ = 'account.invoice.line-stock.move'
|
||||
|
||||
invoice_line = fields.Many2One('account.invoice.line', 'Invoice Line',
|
||||
- required=True, select=True)
|
||||
+ required=True, select=True, ondelete='CASCADE')
|
||||
stock_move = fields.Many2One('stock.move', 'Stock Move', required=True,
|
||||
- select=True)
|
||||
+ select=True, ondelete='CASCADE')
|
||||
|
||||
|
||||
class InvoiceLine:
|
||||
|
Loading…
Reference in New Issue