← Back to team overview

openerp-india team mailing list archive

[Bug 1115945] [NEW] [7.0] Anglo Saxon Accounting breaks down after Pricelist option for Purchase is ticked

 

Public bug reported:

[7.0] Anglo Saxon Accounting breaks down after Pricelist option for
Purchase is ticked


VERSION USED
============
Version 7.0-20130122-001415


PROBLEM SUMMARY
===============
After installing Anglo Saxon Accounting, 
when performing a purchase order, the accounting journal entry correctly uses the "Stock Output account" for the purchase.

Upon going into Settings>Purchases>Supplier features and ticking the option for "Manage pricelist per supplier", 
when performing a purchase order, the accounting journal entry now wrongly uses the "Expense Account" for the purchase.


Ticking the option for "Manage pricelist per supplier" causes an unintended change to the system to use the wrong account.


TO DUPLICATE THE PROBLEM
========================
- Create new empty OpenERP database
- Install Anglo-Saxon Accounting

- Add accounts to Product Category
	Edit Category "All Products"
	Stock Input Account = Interim Stock (Received)
	Stock Output Account = Interim Stock (Delivered)
	Valuation Account = Inventory on Hand
	Price Difference Account  = Price Difference 
	Expense Account = Cost of Goods Sold
	Income Account = Sales
	Stock Journal = Stock Journal

- Select Real-time accounting 
	Goto Settings, Warehouse, Accounting, Tick Generate accounting entries per stock movement
	
- Add Product
	Name = Widget1
	Category = All Products
	Information Tab. Sale price = 20
	Procurement Tab. Cost price = 9
	Accounting Tab. Inventory Valuation = Real Time (automated)

- Create Purchase Order (right result appears)
	Supplier = "ABC Supplier"
	Add item = "Widget1"
	Change unit price from 9.00 to 10.00
	Click Confirm Order

	Open the Purchase order, Click Receive Invoice
	Click Validate
	* Invoice uses correctly uses the Stock Input Account, and displays the account as "Interim Stock (Received)".


- Select the option "Manage pricelist per supplier", 
	Goto Settings>Purchases>Supplier features and tick the option for "Manage pricelist per supplier"

- Create Purchase Order (wrong result appears)
	Supplier = "ABC Supplier"
	Add item = "Widget1"
	Change unit price from 9.00 to 10.00
	Click Confirm Order

	Open the Purchase order, Click Receive Invoice
	Click Validate
	** Invoice now wrongly uses the Expenses Account, and displays the account as "Cost of Goods sold". It should display the account similar to the earlier example as "Interim Stock (Received)"

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: anglo saxon

-- 
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/1115945

Title:
  [7.0] Anglo Saxon Accounting breaks down after Pricelist option for
  Purchase is ticked

Status in OpenERP Addons (modules):
  New

Bug description:
  [7.0] Anglo Saxon Accounting breaks down after Pricelist option for
  Purchase is ticked

  
  VERSION USED
  ============
  Version 7.0-20130122-001415

  
  PROBLEM SUMMARY
  ===============
  After installing Anglo Saxon Accounting, 
  when performing a purchase order, the accounting journal entry correctly uses the "Stock Output account" for the purchase.

  Upon going into Settings>Purchases>Supplier features and ticking the option for "Manage pricelist per supplier", 
  when performing a purchase order, the accounting journal entry now wrongly uses the "Expense Account" for the purchase.

  
  Ticking the option for "Manage pricelist per supplier" causes an unintended change to the system to use the wrong account.

  
  TO DUPLICATE THE PROBLEM
  ========================
  - Create new empty OpenERP database
  - Install Anglo-Saxon Accounting

  - Add accounts to Product Category
  	Edit Category "All Products"
  	Stock Input Account = Interim Stock (Received)
  	Stock Output Account = Interim Stock (Delivered)
  	Valuation Account = Inventory on Hand
  	Price Difference Account  = Price Difference 
  	Expense Account = Cost of Goods Sold
  	Income Account = Sales
  	Stock Journal = Stock Journal

  - Select Real-time accounting 
  	Goto Settings, Warehouse, Accounting, Tick Generate accounting entries per stock movement
  	
  - Add Product
  	Name = Widget1
  	Category = All Products
  	Information Tab. Sale price = 20
  	Procurement Tab. Cost price = 9
  	Accounting Tab. Inventory Valuation = Real Time (automated)

  - Create Purchase Order (right result appears)
  	Supplier = "ABC Supplier"
  	Add item = "Widget1"
  	Change unit price from 9.00 to 10.00
  	Click Confirm Order

  	Open the Purchase order, Click Receive Invoice
  	Click Validate
  	* Invoice uses correctly uses the Stock Input Account, and displays the account as "Interim Stock (Received)".


  - Select the option "Manage pricelist per supplier", 
  	Goto Settings>Purchases>Supplier features and tick the option for "Manage pricelist per supplier"

  - Create Purchase Order (wrong result appears)
  	Supplier = "ABC Supplier"
  	Add item = "Widget1"
  	Change unit price from 9.00 to 10.00
  	Click Confirm Order

  	Open the Purchase order, Click Receive Invoice
  	Click Validate
  	** Invoice now wrongly uses the Expenses Account, and displays the account as "Cost of Goods sold". It should display the account similar to the earlier example as "Interim Stock (Received)"

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1115945/+subscriptions


Follow ups

References