Commit Graph

18 Commits

Author SHA1 Message Date
Goffin Simon 85e33c8e1d [FIX] account_anglo_saxon: incorrect account tax
When changing the account_id of an invoice line, all the tax line,
created from this invoice line and with a tax which has no
"account_collected_id" set, must be set with the same account_id.
Inspired from the function "compute" in model "account.invoice.tax"

closed #9727
opw:657499
2015-12-07 11:29:25 +01:00
Martin Trigaux 9ab18cd149 [FIX] account_anglo_saxon: keep reference to stock.move on invoice line
When an invoice is created from a picking keep a reference to the stock.move to
use the right price for the COGS entry.
This used to be done by the _prepare_invoice_line method but it was removed
during WMS refactoring, replacing by the brand new _get_invoice_line_vals
method! opw 615263
2014-12-22 16:11:26 +01:00
Martin Trigaux 74f18581f1 [FIX] account_anglo_saxon: do not put stock accounts on services
Services are not moved in stock so invoices created from stock.picking should
not use stock accounts, same when creating lines for sales. opw 615263
2014-12-22 16:11:26 +01:00
Martin Trigaux f63acd9902 [FIX] account_anglo_saxon: account selection for onchange
Following 3a50d4b3, should not distinguish invoice and refund for account
selection in anglo-saxon.
Do this in both onchange method and invoice creation from picking.
2014-12-22 16:11:26 +01:00
Quentin (OpenERP) a5cc6d6aed [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131211100354-hwlt65vk8p3xih9u
2013-12-11 11:03:54 +01:00
Martin Trigaux 81b3203dd7 [FIX] account_anglo_saxon: at invoice validation, the price for the analytic lines should be computed using the price_unit of the related stock.move instead of the product standard price (useful if different valuation method, could have price difference between delivery and invoice time)
bzr revid: mat@openerp.com-20131205163406-3rvupbbj3sm9q550
2013-12-05 17:34:06 +01:00
Cedric Snauwaert 6b68b2e704 [FIX]action_invoice_create return a list and not a dict + fix dependencies for delivery
bzr revid: csn@openerp.com-20130905153317-tledb2ht933pwt28
2013-09-05 17:33:17 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Olivier Dony 03b6acd13d [MERGE] Access inherited product fields on the product directly rather than template, courtesy of Alexis de Lattre (Akretion)
It makes the code a little more straightforward and does not hurt.

bzr revid: odo@openerp.com-20121218225015-6r9ydxjlh147m3z1
2012-12-18 23:50:15 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Alexis de Lattre f9fe637803 Remplace all occurences of my_browse_rec.product_id.product_tmpl_id.field to my_browse_rec.product_id.field
bzr revid: alexis@via.ecp.fr-20120727015202-7fylff5jr26sgxez
2012-07-27 03:52:02 +02:00
Mustufa Rangwala 2762d10d8e [REF] account_anglo_saxon/stock.py => remove unused import of fields
bzr revid: mra@mra-laptop-20110208065824-6vl7noekz1grku36
2011-02-08 12:28:24 +05:30
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
uco (OpenERP) 12fcd1be2f [IMP] : Added context=None on methods used for _constraints and replaced context={} with context=None.
bzr revid: uco@tinyerp.com-20101119134801-974ev29j4tu46pq2
2010-11-19 19:18:01 +05:30
Fabien Pinckaers f6f13039c5 fix
bzr revid: fp@tinyerp.com-20100624162826-ydlf1y5dwletndqb
2010-06-24 18:28:26 +02:00
HDA (OpenERP) 904de67cf5 rename report_analytic_planing to project_planing and removed dependancy of account from project and add analytic module + improvement in account_anglo_saxon
bzr revid: hda@tinyerp.com-20100205150927-ztj0oaw3d3mv4f34
2010-02-05 20:39:27 +05:30
HDA (OpenERP) 887ab90afb Added account_anglo_saxon module from extra addons
bzr revid: hda@tinyerp.com-20100202061046-oxp8cwjmy0ggtra4
2010-02-02 11:40:46 +05:30