Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
1293
1
lip 25
1637
0
maj 25
1210
1
kwi 25
2553
1
wrz 25
1787