[FIX] purchase_stock: remove duplicate field
before this commit, the field incoterm_id is defined twice in purchase.order model, i.e., in purchase and purchase_stock modules after this commit incoterm_id field is removed from purchase_stock module closes odoo/odoo#123602 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
committed by
mehjabinfarsana
parent
4c107fd8c2
commit
900e642af0
@@ -17,7 +17,6 @@ class PurchaseOrder(models.Model):
|
||||
def _default_picking_type(self):
|
||||
return self._get_picking_type(self.env.context.get('company_id') or self.env.company.id)
|
||||
|
||||
incoterm_id = fields.Many2one('account.incoterms', 'Incoterm', states={'done': [('readonly', True)]}, help="International Commercial Terms are a series of predefined commercial terms used in international transactions.")
|
||||
incoterm_location = fields.Char(string='Incoterm Location', states={'done': [('readonly', True)]})
|
||||
incoming_picking_count = fields.Integer("Incoming Shipment count", compute='_compute_incoming_picking_count')
|
||||
picking_ids = fields.Many2many('stock.picking', compute='_compute_picking_ids', string='Receptions', copy=False, store=True)
|
||||
|
||||
Reference in New Issue
Block a user