IMP rma Add company_id field on rma.template and record rules to hide them.

This commit is contained in:
Jared Kipe
2019-10-09 15:28:38 -07:00
parent 7315aefc87
commit 837b7a672a
4 changed files with 30 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ class RMATemplate(models.Model):
('make_to_order', 'Apply Procurements')
], string="Outbound Procurement Method", default='make_to_stock')
out_to_refund = fields.Boolean(string='Outbound Mark Refund')
company_id = fields.Many2one('res.company', 'Company')
def _values_for_in_picking(self, rma):
return {