Anglo-saxon Accounting does not use input stock account when purchase order invoicing control set to: “from picking” V6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
V6 stable, ubuntu 9.10, launchpad version
Anglo-saxon Accounting does not use input stock account when purchase order invoicing control set to: “from picking”.
Example:
Make sure anglo-saxon installed. Accounts setup in categories.
Setup input and output stock correctly.
Create purchase order with invoicing control set to: “from order”
Approve purchase order then receipt shipment.
Journals:
CR Stock input account (Correct)
DR Inventory account (Correct)
Approve Invoice created from sales order.
Cr Supplier Trade Account (Correct)
Dr Tax (Correct)
Dr Stock input account (Correct)
HOWEVER:
Create new purchase order with invoicing control set to: “from picking”
Approve purchase order then receipt shipment.
CR Stock input account (Correct)
DR Inventory account (Correct)
Create invoice from validated reception.
CR Supplier Trade Account (Correct)
DR Tax (Correct)
DR Expense Account (INCORRECT)
In summary: V6 seems to work fine when the purchase order invoicing control is "from order" but not when "from picking"
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 847 lines (+137/-98)39 files modifiedaccount/report/account_balance.py (+2/-0)
account/wizard/account_automatic_reconcile.py (+4/-1)
account/wizard/account_change_currency.py (+3/-3)
account/wizard/account_chart.py (+7/-7)
account/wizard/account_fiscalyear_close.py (+4/-1)
account/wizard/account_fiscalyear_close_state.py (+3/-3)
account/wizard/account_invoice_refund.py (+5/-1)
account/wizard/account_move_bank_reconcile.py (+4/-4)
account/wizard/account_move_journal.py (+1/-1)
account/wizard/account_move_line_reconcile_select.py (+3/-3)
account/wizard/account_move_line_unreconcile_select.py (+3/-3)
account/wizard/account_open_closed_fiscalyear.py (+2/-0)
account/wizard/account_reconcile.py (+8/-8)
account/wizard/account_report_balance_sheet.py (+2/-1)
account/wizard/account_report_common.py (+4/-1)
account/wizard/account_report_general_ledger.py (+1/-1)
account/wizard/account_report_partner_balance.py (+1/-1)
account/wizard/account_report_partner_ledger.py (+1/-1)
account/wizard/account_report_profit_loss.py (+1/-1)
account/wizard/account_tax_chart.py (+9/-9)
account/wizard/account_validate_account_move.py (+3/-0)
account/wizard/account_vat.py (+3/-0)
account_analytic_plans/wizard/account_crossovered_analytic.py (+3/-1)
account_coda/wizard/account_coda_import.py (+10/-10)
account_followup/wizard/account_followup_print.py (+2/-2)
account_invoice_layout/report/special_message_invoice.py (+4/-1)
auction/wizard/auction_lots_invoice.py (+2/-2)
hr_recruitment/wizard/hr_recruitment_phonecall.py (+5/-5)
hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py (+9/-9)
lunch/wizard/lunch_order_confirm.py (+2/-2)
point_of_sale/wizard/pos_payment.py (+3/-0)
point_of_sale/wizard/pos_return.py (+2/-2)
product/wizard/product_price.py (+2/-0)
product_margin/product_margin_view.xml (+3/-0)
project/wizard/project_task_delegate.py (+2/-0)
project_gtd/wizard/project_gtd_fill.py (+3/-3)
project_long_term/wizard/project_compute_phases.py (+5/-5)
project_long_term/wizard/project_compute_tasks.py (+2/-2)
stock/wizard/stock_move.py (+4/-4)
- OpenERP Core Team: Pending requested
-
Diff: 238 lines (+35/-12)16 files modifiedaccount/report/account_balance.py (+2/-0)
account/wizard/account_move_journal.py (+1/-1)
account/wizard/account_open_closed_fiscalyear.py (+2/-0)
account/wizard/account_report_balance_sheet.py (+2/-1)
account/wizard/account_report_common.py (+4/-1)
account/wizard/account_report_general_ledger.py (+1/-1)
account/wizard/account_report_partner_balance.py (+1/-1)
account/wizard/account_report_partner_ledger.py (+1/-1)
account/wizard/account_report_profit_loss.py (+1/-1)
account/wizard/account_validate_account_move.py (+3/-0)
account/wizard/account_vat.py (+3/-0)
auction/wizard/auction_lots_invoice.py (+2/-2)
mrp/mrp.py (+2/-1)
product/pricelist.py (+1/-1)
stock/stock.py (+8/-0)
stock/wizard/stock_invoice_onshipping.py (+1/-1)
description: | updated |
affects: | openobject-server → openobject-addons |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
tags: | added: maintenance |
I have tested the Anglo-saxon module and i am agree the we got wrong account in "from picking" policy for invoice order.
But the problem arises from stock/wizard/ stock_invoice_ onshipping. py file where they passed type = None while creating invoice from picking. It should be type = context. get('inv_ type').
So i moved it to Addons2 team they will correct it.