跳至内容
菜单
此问题已终结

I see in the model account_analytic_line model the field 

'general_account_id': fields.many2one('account.account', 'General Account', required=True, ondelete='restrict'),


But why not have this a related field to the account_id field in account_move_line

'account_id': fields.many2one('account.account', 'Account', required=True, ondelete="cascade", domain=[('type','<>','view'),  ('type', '<>', 'closed')], select=2),


Changing the field than in account_move_line keeps the general_account_id in sync

Or is this a bad i

形象
丢弃
相关帖文 回复 查看 活动
1
8月 25
1280
1
7月 25
1609
0
5月 25
1176
1
4月 25
2534
1
9月 25
1767