14 lines
397 B
Python
14 lines
397 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models
|
|
|
|
|
|
class MrpRoutingWorkcenter(models.Model):
|
|
_inherit = 'mrp.routing.workcenter'
|
|
|
|
def _get_sync_values(self):
|
|
if not self:
|
|
return tuple()
|
|
self.ensure_one()
|
|
return tuple([self.name, self.workcenter_id] + self.bom_product_template_attribute_value_ids.ids)
|