Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] partner.inscr_est unique sql constraint #111

Closed
mileo opened this issue Dec 1, 2014 · 5 comments
Closed

[BUG] partner.inscr_est unique sql constraint #111

mileo opened this issue Dec 1, 2014 · 5 comments

Comments

@mileo
Copy link
Member

mileo commented Dec 1, 2014

Create a partner with inscr_est = 'ISENTO'

python constraint : (_check_ie, u'Inscrição Estadual inválida!', ['inscr_est']) returns True.
https://github.com/OCA/l10n-brazil/blob/7.0/l10n_br_base/res_partner.py#L107

Create a new partner with inscr_est = 'ISENTO'

python constraint : (_check_ie, u'Inscrição Estadual inválida!', ['inscr_est']) returns True.
unique sql constraint returns False

Then u can't save.

danimaribeiro added a commit to danimaribeiro/l10n_br_core that referenced this issue Jan 22, 2015
Add new validation to check duplicated IE/RG and removed old sql constraint.
@mileo
Copy link
Member Author

mileo commented Aug 25, 2015

danimaribeiro pushed a commit to Trust-Code/l10n-brazil that referenced this issue Nov 4, 2015
…n_Nota_Fiscal_de_Servico_de_Entrada_menu

correct form on Nota Fiscal de Serviço de Entrada menu
@mileo
Copy link
Member Author

mileo commented Nov 16, 2015

UP

@mileo
Copy link
Member Author

mileo commented Nov 16, 2015

@biancatella

@biancatella
Copy link

valeu @mileo !

@rvalyi
Copy link
Member

rvalyi commented Aug 10, 2016

fixed by 80d1a7e

@rvalyi rvalyi closed this as completed Aug 10, 2016
yk2kus pushed a commit to thinkopensolutions/oca-l10n-brazil that referenced this issue Mar 17, 2017
[FIX] pos_pricelist, format_pr error when precision undefined
gabrielcardoso21 referenced this issue in odoo-brazil/l10n-brazil Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants