使用name_search
在odoo12的文本字段中自动完成
我在产品模板中添加了一个字段code_artcile
,我正在尝试
使用它来选择产品。你知道吗
class AccountInvoiceInherited2(models.Model):
_inherit = 'account.invoice.line'
code_article_id = fields.Char(string='code article',store=True,related='product_id.code_article')
尝试使用它来选择产品
目前没有回答
相关问题 更多 >
编程相关推荐