Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Multi-company > one default bank account

by
Holger Brunn
- 18/01/2023 16:53:47
> To our understanding using Multi-Company logic is the best fit for our

> purposes, including the need of inter-company billing, however as a fiscal

> host we must be able to set one default bank account (of the main/parent

> company) for all the children companies.

note that multicompany separates entities to some degree, but as soon as you 
allow any user of the child companies access to the configuration, they can 
undo all of this. The same if you install modules that allow users to run 
code.


> We tried to set it as a default attribute from inherited account.move model

> & form, & res.partner.bank, and also muted restriction in res.bank to allow

> different companies have the same bank account. This however doesn’t seem

> to work.

links to code are much more helpful than verbal descriptions
 

> We also tried to set a default bank account value in payment mode, but we

> couldn’t make the parent's mode be accessible for daughter companies.

did you change
https://github.com/OCA/bank-payment/blob/16.0/account_payment_mode/security/
account_payment_mode.xml#L7
?


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

Reference