Martin Trigaux
a9757d99c3
[FIX] account_anglo_saxon: price computation with different uom
...
When recording the cost of good sold, fetch the price based on the stock.move
Revision fb57514c
used the standard_price fixing a UoM issues
2015-09-10 15:04:37 +02:00
Goffin Simon
fb57514cf0
[FIX]account_anglo_saxon: price unit of a move
...
The price unit of a move must be computed with the product_uom of
this move.
opw:640454
2015-06-09 09:30:54 +02:00
Humberto Arocha
d89fa3281a
[FIX] account_anglo_saxon: Missing Fiscal Position
...
when creating Cost of Goods Sold Journal Entry
2015-02-06 15:27:05 +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
Nick Booker
ce0521aa99
[REF] account_anglo_saxon: refactor anglo saxon move lines
...
So that we can customise the real-time stock journal items made during sale invoice postings for certain companies who account for it slightly differently.
2014-11-07 14:28:39 +01:00
Martin Trigaux
8843974d04
Forward port of branch saas-3 up to fc9fc3e
2014-10-06 15:52:23 +02:00
Martin Trigaux
7e33a4746b
Forward port of branch 7.0 up to b3485fb
2014-10-03 15:17:36 +02:00
Martin Trigaux
066fbb6613
[FIX] account_anglo_saxon: price difference, discount and taxes
...
When computing the price difference amount do not integrate the eventual discount and taxes included in the price.
Otherwise the total of the generated accounting enty would be higher than the total of the invoice. opw 611350
2014-10-03 12:19:01 +02:00
Denis Ledoux
29e08a272c
[MERGE] forward port of branch saas-3 up to 5bd0249
2014-09-18 16:18:23 +02:00
Denis Ledoux
5bd0249515
[MERGE] forward port of branch 7.0 up to a218a9e
2014-09-18 16:05:34 +02:00
Martin Trigaux
3a50d4b35b
[FIX] account_anglo_saxon: correctly set the accounts for returns
...
The generated moves on a return should be the reverse of the outgoing move.
Fixes #1817 , opw 604417
2014-09-17 17:10:55 +02:00
Raphael Collet
ecd8b5222b
[FIX] account.invoice.line: move context to last position in onchange methods
...
The methods product_id_change() and uos_id_change() have been converted to the
new api, and now use the decorator @multi. When invoked with the old api, by
convention the methods will take the last argument as the context. But this
will not work properly for those methods, as the context is passed in another
position. In order to avoid an argument swap in the api wrapper, we moved the
context to its expected position.
Fixes #1943
2014-09-09 11:50:10 +02:00
Daniel Dico
9a763928e1
[FIX] account_anglo_saxon: variable 'standard_price' referenced before assignment
...
Due to forward-port, the variable standard_price was reintroduced instead of valuation_price_unit
Move the change of currency after the fifo/lifo computation.
Fixes #1801
2014-08-19 17:16:28 +02:00
Denis Ledoux
8a7728790b
[MERGE] forward port of branch 7.0 up to 60ab6f1
2014-08-12 17:49:12 +02:00
Ruchir Shukla
b2f1c764cd
[FIX] account_anglo_saxon: avoid duplication of price difference lines
...
When computing the price difference lines, in move_line_get of account_anglo_saxon, we loop on the result of super call for each lines (n * n times) to compute the price difference.
The product_id was used to match the returned line and the original invoice line. This was wrong as we could get several lines with the same product_id (and then get n * n price difference lines).
This patch adds the line id to the result of move_line_get (from account) so that account_anglo_saxon can filter more efficiently and only get one price difference per invoice line.
Fixes #704
2014-08-12 17:30:49 +02:00
Denis Ledoux
81a902a07d
[MERGE] forward port of branch 7.0 up to 5f696ba
2014-08-08 16:18:35 +02:00
Martin Trigaux
1d826a6051
[FIX] account_anglo_savon: round prices according to account precision to avoid getting unbalanced move
...
The standard move_line_get from account.invoice returns prices rounded (price_subtotal field as account precision) while the anglo-saxon module could return dict with non-rounded prices.
With amounts with bigger precision, we could get a difference of a few cents when comparing the debit/credits and then not be able to balance the invoice (opw 597208).
2014-08-08 14:04:46 +02:00
Denis Ledoux
2b2153bc39
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9991 revid:dle@openerp.com-20140417110435-u8uwwcf5ji1b54ao
...
bzr revid: dle@openerp.com-20140417112655-eeaiokbqzokpwx4i
2014-04-17 13:26:55 +02:00
Ravi Gohil (OpenERP)
d36efd77eb
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)
...
lp bug: https://launchpad.net/bugs/1304195 fixed
bzr revid: rgo@tinyerp.com-20140415094723-hly42ii5c8hdcnw4
2014-04-15 15:17:23 +05:30
Ravi Gohil (OpenERP)
8f59d71f3a
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)
...
bzr revid: rgo@tinyerp.com-20140415092608-hplfg4ftsuxhu7rh
2014-04-15 14:56:08 +05:30
Ravi Gohil (OpenERP)
4a8168a7dc
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)
...
bzr revid: rgo@tinyerp.com-20140415091428-az1rx5ngz79j4fh6
2014-04-15 14:44:28 +05:30
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
Quentin (OpenERP)
7e8e2ca75f
[FIX] account_anglo_saxon: fixed the computation of price difference inc costing method != 'standard' + added yaml test for the same feature
...
bzr revid: qdp-launchpad@openerp.com-20130624090329-o423720dp3oc4aez
2013-06-24 11:03:29 +02:00
Ravi Gohil (OpenERP)
6ad3f2c835
[FIX] pass 'uom_id' argument to product_id_change() to avoid traceback which is faced when we create invoice from Sale Orders with option 'Percentage' or 'Fixed Price (deposit)': (Maintenance Case: 584499)
...
bzr revid: rgo@tinyerp.com-20130125063213-2u08rex66cmtt9o1
2013-01-25 12:02:13 +05:30
Olivier Dony
a4e0fb1414
[FIX] account_anglo_saxon: fix refund preparation after API refactoring by Akretion
...
bzr revid: odo@openerp.com-20121219010429-heljgqgxbz02xcn9
2012-12-19 02:04:29 +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
Jagdish Panchal (Open ERP)
44d1708551
[FIX]account_anglo_saxon : Fix the problem stock move entry in stok output account when prodcut valution is manual.
...
bzr revid: mma@tinyerp.com-20121106110235-wpzpa1hpg3b9idjh
2012-11-06 16:32:35 +05:30
Kuldeep Joshi (OpenERP)
b961004f1d
[IMP]account_anglo_saxon: remove address field from method
...
bzr revid: kjo@tinyerp.com-20120306055847-rvz9pdongih0wu9c
2012-03-06 11:28:47 +05:30
Quentin (OpenERP)
efee12a1bb
[FIX] account_anglo_saxon: analytic entries should be created only for the p&l accounts
...
lp bug: https://launchpad.net/bugs/921877 fixed
bzr revid: qdp-launchpad@openerp.com-20120215160628-bclr0g1q8ulylyhq
2012-02-15 17:06:28 +01:00
Fabien Pinckaers
735276e89e
merge
...
lp bug: https://launchpad.net/bugs/813329 fixed
bzr revid: fp@tinyerp.com-20110924103329-os9x9kostsrhpetv
2011-09-24 12:33:29 +02:00
Mustufa Rangwala
e678571316
[IMP] account_anglo_saxon: Improve code
...
bzr revid: mra@mra-laptop-20110725101424-q3zlft8s7tsz8dys
2011-07-25 15:44:24 +05:30
Bharat (OpenERP)
5783538775
[FIX] account : Added the company_id in product_id_change method in account_anglo_saxon module
...
lp bug: https://launchpad.net/bugs/813329 fixed
bzr revid: bde@tinyerp.com-20110721095935-fm8t1pq9rg2rgdts
2011-07-21 15:29:35 +05:30
Ferdinand @ Camptocamp
150498b119
[FIX] account_anglo_saxon - field positioning and code simplification
...
lp bug: https://launchpad.net/bugs/778487 fixed
bzr revid: ara@tinyerp.com-20110511055031-8vjyufbo4e3mo6g4
2011-05-11 11:20:31 +05:30
jam-openerp
3ce76c075a
[merge] with lp:~openerp-dev/openobject-addons/trunk-dev-addons1
...
bzr revid: jam@tinyerp.com-20101229085843-w7ja82h0kz493wiq
2010-12-29 14:28:43 +05:30
hda(Open ERP)
01152d4123
[FIX] account_anglo_saxon: Price calculation
...
lp bug: https://launchpad.net/bugs/438717 fixed
bzr revid: pso@tinyerp.com-20101221123202-vegmmg2aoh97j3rv
2010-12-21 18:02:02 +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)
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
786e1c7751
fix
...
bzr revid: fp@tinyerp.com-20100901165841-4jvdus9bz1r1rs0e
2010-09-01 18:58:41 +02:00
vra
bf8d2a73c0
[IMP][REF] Sql-injection changes, remove print statement, some space improvement.
...
bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-06-16 17:21:39 +05:30
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