Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[IMP] base: Constraint to not create bank accounts duplicated improved #279

Closed luistorresm closed 5 years ago

luistorresm commented 5 years ago

The restriction to do not allow create bank accounts duplicated was improved, to allow have 2 bank accounts with the same account, but to a different bank and partner.

With this improve now could be created the next structure:

Account Bank Partner Company
1234 Bank of Mexico Deco Your Company
1234 Bank of Mexico Vauxoo Your Company

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

luistorresm commented 5 years ago

Hola @nhomar

Generé este PR, aquí en Vauxoo primero para revisarlo.

Aparte del caso que tenemos, sabes otro caso para fundamentar en el que se tenga la misma cuenta para un banco pero de diferente empresa?

CC @yaniaular quieres probar este cambio?

Saludos

nhomar commented 5 years ago

mandalo a odoo... no explicas por que es posible.

nhomar commented 5 years ago

perdon... por que es necesario

moylop260 commented 5 years ago

PR to odoo https://github.com/odoo/odoo/pull/30246