[IMP] stock: label for partner and mts_else_mto

Task 1967745
This commit is contained in:
Arnold Moyaux
2019-05-15 11:08:46 +00:00
committed by shreya thakrar
parent e963aaecca
commit 64cf0df5e0
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ class Picking(models.Model):
readonly=True)
partner_id = fields.Many2one(
'res.partner', 'Partner',
'res.partner', 'Contact',
states={'done': [('readonly', True)], 'cancel': [('readonly', True)]})
company_id = fields.Many2one(
'res.company', 'Company',
+1 -2
View File
@@ -45,8 +45,7 @@ class StockRule(models.Model):
procure_method = fields.Selection([
('make_to_stock', 'Take From Stock'),
('make_to_order', 'Trigger Another Rule'),
('mts_else_mto', 'Take From Stock, if unavailable, Trigger Another Rule')], string='Move Supply Method',
default='make_to_stock', required=True,
('mts_else_mto', 'Take From Stock, if unavailable, Trigger Another Rule')], string='Supply Method', default='make_to_stock', required=True,
help="Take From Stock: the products will be taken from the available stock of the source location.\n"
"Trigger Another Rule: the system will try to find a stock rule to bring the products in the source location. The available stock will be ignored.\n"
"Take From Stock, if Unavailable, Trigger Another Rule: the products will be taken from the available stock of the source location."