changeset 5075864c2326 in modules/account_invoice_stock:default
details:
https://hg.tryton.org/modules/account_invoice_stock?cmd=changeset&node=5075864c2326
description:
Use declarative index definition for ModelSQL
issue5757
review361251002
diffstat:
account.py | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (19 lines):
diff -r 63259a88c9e3 -r 5075864c2326 account.py
--- a/account.py Sun Oct 09 19:07:16 2022 +0200
+++ b/account.py Tue Oct 11 00:44:49 2022 +0200
@@ -35,10 +35,11 @@
'Invoice Line - Stock Move'
__name__ = 'account.invoice.line-stock.move'
- invoice_line = fields.Many2One('account.invoice.line', 'Invoice Line',
- required=True, select=True, ondelete='CASCADE')
- stock_move = fields.Many2One('stock.move', 'Stock Move', required=True,
- select=True, ondelete='CASCADE')
+ invoice_line = fields.Many2One(
+ 'account.invoice.line', "Invoice Line",
+ required=True, ondelete='CASCADE')
+ stock_move = fields.Many2One(
+ 'stock.move', "Stock Move", required=True, ondelete='CASCADE')
class InvoiceLine(metaclass=PoolMeta):