openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08575
[Bug 936638] Re: [account] Invoice get tax of all companies
Hello Moisés,
I have completely checked your issue with 6.1 (because in 6.0 the
behaviour is same). Indeed, your patch is not correct.
Currently the multi-company environment works like this:
If we have child company then child company's taxes must be calculated.
If another taxes doesn't belongs to child company then it will never
calculated (As per your scenario).
We can manage all this stuff based on record rules , we have created a
record rule for account tax and tax code. If you provide a two different
taxes from two different company and both company don't integrated a
parent->child relation. Then you can not seen the another company's
taxes in product's m2m field/
please try this scenario which will clear the whole picture.
1) Create two different company as per demo data (OpenERP Corp and Oddo ). Note:- OpenERP Corp is a parent comapny of Odoo
2) Create two different taxes for each company assigned this to PC2 (Sales Taxes).
3) Assign appropriate rights of demo user and company OpenERP Corp. Login with this demo user, Create Customer invoice and select pc2 product. You can seen the both of the taxes will apply which is fine (because Odoo is a child company of OpenERP Corp).
4)Remove the parent comapny(OpenERP Corp) from odoo. Again logging with demo user and create the invoice select the product PC2. You can seen only one taxes which is for OpenERP Corp. Again it's working fine.
We have applied this same behaviour for sale, purchase and invoice.
So we can not consider this as a bug rather than it's behaviour. So I am
closing this issue.
Correct me If I am wrong!
Thanks for understanding!
** Changed in: openobject-addons
Status: New => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/936638
Title:
[account] Invoice get tax of all companies
Status in OpenERP Addons (modules):
Invalid
Bug description:
1) Create a multi-company enviroment.
Configure tax to product with differents companies child
Login with a user assign to company parent
Create a new invoice, choose a company child in page "Other information"
Choose a partner, add products
Push button "compute taxes"
2) All taxes of all companies
3) Only taxes of company selected
4) Revno 5008
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/936638/+subscriptions
References