openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13968
[Bug 1028747] [NEW] Account Fiscal Position declared 2 times leads to duplicate key value in sale order lines
Public bug reported:
Hello,
Steps to reproduce (on runbot trunk and 6.1):
- Install modules 'account', 'sale'
- Install the generic chart of account
- Create a new fiscal position A
- Create a line with :
source: Tax 15.00%
destination: Purchase Tax 15.00%
- Create a second line with exact same taxes
source: Tax 15.00%
destination: Purchase Tax 15.00%
- Edit the product Ice cream
- Set the Customer tax to: Tax 15.00%
- Create a sale order
- Change the fiscal position to fiscal position A
- Select the product Ice Cream (you'll notice that you have to times the same taxes)
- Save the sale order
Result:
Integrity Error
duplicate key value violates unique constraint "sale_order_tax_order_line_id_key"
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1028747
Title:
Account Fiscal Position declared 2 times leads to duplicate key value
in sale order lines
Status in OpenERP Addons (modules):
New
Bug description:
Hello,
Steps to reproduce (on runbot trunk and 6.1):
- Install modules 'account', 'sale'
- Install the generic chart of account
- Create a new fiscal position A
- Create a line with :
source: Tax 15.00%
destination: Purchase Tax 15.00%
- Create a second line with exact same taxes
source: Tax 15.00%
destination: Purchase Tax 15.00%
- Edit the product Ice cream
- Set the Customer tax to: Tax 15.00%
- Create a sale order
- Change the fiscal position to fiscal position A
- Select the product Ice Cream (you'll notice that you have to times the same taxes)
- Save the sale order
Result:
Integrity Error
duplicate key value violates unique constraint "sale_order_tax_order_line_id_key"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1028747/+subscriptions
Follow ups
References