Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3451 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
авг. 25
1281
1
июл. 25
1611
0
мая 25
1177
1
апр. 25
2539
1
сент. 25
1775