adhoc-dev / odoo-addons

DEPRECEATED, see README
GNU Affero General Public License v3.0
71 stars 124 forks source link

[8.0][BUG][inter_company_rules] supplier invoice validate error #269

Closed robornetx closed 8 years ago

robornetx commented 8 years ago

Hi,

Thank you very much to develop such a good app!

I set up A company and B company, after establishing A company SO, company B can automatically generate the PO;SO can shipment, create and validate the customer invoice, the PO can be receiving, create and validate the supplier invoice, but an error occurred while trying to confirm the supplier invoice.

ValidateError Field(s) company_id failed against a constraint: Account and Period must belong to the same company.

jjscarafia commented 8 years ago

When you create the invoice of company "B" are you using admin? are you log in in company "A" or another company different than b?

El mar., 15 mar. 2016 a las 4:08, robornetx (notifications@github.com) escribió:

Hi,

Thank you very much to develop such a good app!

I set up A company and B company, after establishing A company SO, company B can automatically generate the PO;SO can shipment, create and validate the customer invoice, the PO can be receiving, create and validate the supplier invoice, but an error occurred while trying to confirm the supplier invoice.

_ValidateError Field(s) companyid failed against a constraint: Account and Period must belong to the same company.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/ingadhoc/odoo-addons/issues/269

jjscarafia commented 8 years ago

Please also move this issue to https://github.com/ingadhoc/multi-company as this repo is depreceated as you can see on https://github.com/ingadhoc/odoo-addons/blob/8.0/README.md

robornetx commented 8 years ago

Yes, I use the standard multi-company function. the same database, company "A" and company "B" is parallel, invoice was established using the same user "admin"