mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
forward port latest changes from 11.0
This commit is contained in:
committed by
ps-tubtim
parent
06f8b54ea3
commit
2c8c39f91c
@@ -14,3 +14,10 @@ class AccountMoveLine(models.Model):
|
||||
string='Purchase Order Line',
|
||||
ondelete='set null', index=True,
|
||||
)
|
||||
|
||||
purchase_id = fields.Many2one(
|
||||
comodel_name='purchase.order',
|
||||
related='purchase_line_id.order_id',
|
||||
string='Purchase Order',
|
||||
store=True, index=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user