diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-12-22 13:35:26 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-12-22 13:35:26 +0700 |
| commit | 8a10587c8582ed68944634928c9a7c34d3321dbe (patch) | |
| tree | 99d93c45df499d9701e2f31d995d5b7160a34a2f /indoteknik_custom/models/purchase_order.py | |
| parent | fbb11ab07e66b28459375af175459c3a23148597 (diff) | |
matches so on po and matches po on so
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py index 285c5a95..82ca3108 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -16,6 +16,7 @@ _logger = logging.getLogger(__name__) class PurchaseOrder(models.Model): _inherit = 'purchase.order' + order_sales_match_line = fields.One2many('purchase.order.sales.match', 'purchase_order_id', string='Sales Match Lines', states={'cancel': [('readonly', True)], 'done': [('readonly', True)]}, copy=True) sale_order_id = fields.Many2one('sale.order', string='Sale Order') procurement_status = fields.Char(string='Procurement Status', compute='get_procurement_status', readonly=True) po_status = fields.Selection([ |
