product - VAT definition - multicompany

Bug #539539 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

New invoice takes (also) tax of other company from product

Problem
Taxes company is mandatory
Product is company neutral, but allows to define VAT per company - so moult VAT lines per product

Invoice line takes VAT from product not respecting the company setting in Taxes

Related branches

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Hello, I confirm, and tested on trunk recently and the tax application in order/invoice was not company wise indeed.
Moreover: I'm not sure if that's fixed or not, but when selecting VAT account recently, you could select accounts from companies different from the company_id, I think some company_id in the domain here would have helped selecting valid accounts.

Changed in openobject-addons:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

it's probably due to child_of in the rule of the tax. In this special case, we should have an "=" instead of a child_of on taxes. To be verified, I did not checked.

Changed in openobject-addons:
assignee: nobody → Fabien (Open ERP) (fp-tinyerp)
assignee: Fabien (Open ERP) (fp-tinyerp) → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
qdp (OpenERP) (qdp)
Changed in openobject-addons:
milestone: none → 6.0-rc2
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Ferdinand,

Right now there is a domain on sale taxes and purchase taxes in product. Here i added another one for company. Then sale taxes and purchase taxes will show only the taxes which are related to the company of the current product.

Here i attached patch for that.

Kindly check it and revert back.

If i have misunderstood you, then please make me clear.

Thanks.

Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

Rule for multi company taxes is already defined.

If you will connect with another user, then you will get taxes related to the company(with child) of connected user.

So I am closing this bug. You can reopen it with more details.

Thanks.

Changed in openobject-addons:
status: In Progress → Invalid
Revision history for this message
Ferdinand (office-chricar) wrote :

I do not understand
if no company is defined for th user - because he/she might be entitled to work in multiple companies - which tax will be taken ?

IMHO it must be always the tax defined for the "invoice" company - regardless of the user settings.

Changed in openobject-addons:
status: Invalid → New
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Ferdinand,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/pso-dev-addons3 and same as Addons3 branch.

Rev-id: <email address hidden>
Rev-no: 4606

Thanks for notifying us.

Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.