问题描述
我尝试在 res.partner 中创建新字段并在会计模块内的aged_payble 中显示,但出现错误 partner_code_seq 字段不存在
_inherit = "account.aged.payable"
partner_id = fields.Many2one('res.partner')
partner_code_seq = fields.Char(group_operator='max')
@api.model
def _get_column_details(self,options):
print("Hello")
res = super(ReportAccountAgedPayable,self)._get_column_details(options)
res += [
self._field_column('partner_code_seq')
]
return res
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)