Olivier Dony
2493395962
[FIX] product_visible_discount: no crash when no pricelist passed or product without company
...
Fixes an error introduced in f6fb2b6
2014-08-04 01:31:44 +02:00
Martin Trigaux
f6fb2b69df
[FIX] product_visible_discount: multicurrency pricelists
...
When we compute the discount of a product to display (result of product_id_change), we compare prices in the currency of the product while we expect prices in the currency of the pricelist. opw 606188
2014-08-01 15:48:24 +02:00
Martin Trigaux
d2042182b4
[FIX] product_visible_discount: don't compute negative discount, also prevent zero division
...
bzr revid: mat@openerp.com-20131023132646-8l760d4swsq42zzo
2013-10-23 15:26:46 +02:00
Martin Trigaux
80e142cca3
[FIX] product_visible_discount: don't change the behaviour of account.invoice to be consistent with the normal behaviour (don't use pricelists)
...
bzr revid: mat@openerp.com-20131023114233-74rtyy5vdsdcy4cl
2013-10-23 13:42:33 +02:00
Ravish (Open ERP)
a98bd87122
[FIX] unit_price should be on other_pricelist
...
bzr revid: rmu@tinyerp.com-20131014100746-inm1snk2hgdc7i98
2013-10-14 15:37:46 +05:30
Ravi Gohil (OpenERP)
e01cf4614a
[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-20130125070952-v9fuss7htkl9ilnb
2013-01-25 12:39:52 +05:30
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
Vo Minh Thu
e7f4891d46
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Sanjay Gohel (Open ERP)
6239433a00
[IMP]improve code
...
bzr revid: sgo@tinyerp.com-20121023053412-gpoxqj3jp55m65wu
2012-10-23 11:04:12 +05:30
Quentin (OpenERP)
3f698109a5
[MERGE] less direct call to product template objects: it's better to access them via product.product in case that field is moved there to manage variants. Courtesy of Alexis de Lattre, Akretion
...
bzr revid: qdp-launchpad@openerp.com-20120711084935-pnay2fm9wc0h3dwq
2012-07-11 10:49:35 +02:00
Alexis de Lattre
36cb6f479a
Use product.product instead of product.template when we go through the ORM.
...
In this process, I re-wrote the fonction change_product_qty_send_note in stock/wizard/stock_change_product_qty.py : the code is now much better !
bzr revid: alexis@via.ecp.fr-20120709162124-jmqv7hrl94fbzk1j
2012-07-09 18:21:24 +02:00
Kuldeep Joshi (OpenERP)
8037caeead
[IMP]product_visible_discount: remove address_invoice_id field
...
bzr revid: kjo@tinyerp.com-20120306113258-y06w371pqo74j6ph
2012-03-06 17:02:58 +05:30
Thibault Delavallée
dae57e7b4e
[MERGE] product_visible_discount: fixed bug 912953: added company_id argument to product_id_change method
...
bzr revid: tde@openerp.com-20120110125854-eim1n3eeng6k8ips
2012-01-10 13:58:54 +01:00
Mayur Maheshwari (OpenERP)
0ae41592cd
[FIX]product_visible_discount: add a company in product_id_change method
...
lp bug: https://launchpad.net/bugs/912953 fixed
bzr revid: mma@tinyerp.com-20120110113625-j57286pylpidtfnr
2012-01-10 17:06:25 +05:30
fp
8aff5209ea
[IMP] improved error message, constraints must allways propose a solution
...
bzr revid: fp@fp-laptop-20111231075720-4kak7o320td4wxqc
2011-12-31 08:57:20 +01:00
Ujjvala Collins (OpenERP)
a5ca2b0eb7
[FIX] product_visible_discount: Fixed missing argument while calling super method.
...
lp bug: https://launchpad.net/bugs/809491 fixed
bzr revid: uco@tinyerp.com-20110912091630-3sqpotrixlt7wc96
2011-09-12 14:46:30 +05:30
Ujjvala Collins (OpenERP)
e84d292ceb
[IMP] sale: Improved code by adding context argument wherever required.
...
* product_visible_discount, warning: Added remaining context argument on product_id_change method.
bzr revid: uco@tinyerp.com-20110718095344-tdlsys7uueqp9kdy
2011-07-18 15:23:44 +05:30
Sbh (OpenERP)
d5d18ea957
[Fix] fix buildbot warning
...
bzr revid: sbh@tinyerp.com-20110127105333-ufjh65jmz21uzdsu
2011-01-27 16:23:33 +05:30
Harry (OpenERP)
ee2b1b8aa9
[FIX] backport product_visible_discout fix from stable/6.0 at rev#4350
...
bzr revid: hmo@tinyerp.com-20110125095111-9ke4m8tq8g3tvyul
2011-01-25 15:21:11 +05:30
uco (OpenERP)
b1cf433ecc
[MERGE]: Merged with trunk-addons.
...
bzr revid: uco@tinyerp.com-20101206131102-z2xzz8eshkswo00q
2010-12-06 18:41:02 +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
rpa (Open ERP)
af3c12649e
[MERGE]: Merge with lp:openobject-addons
...
bzr revid: rpa@tinyerp.com-20101115062357-ergodyxlts4o8sek
2010-11-15 11:53:57 +05:30
rpa (Open ERP)
95124a4a3f
[FIX]: product_visible_discount: Fixed computation of discount
...
lp bug: https://launchpad.net/bugs/667558 fixed
bzr revid: rpa@tinyerp.com-20101103123855-tqtml3aggrxu9fka
2010-11-03 18:08:55 +05:30
uco (OpenERP)
eccc1d33b2
[REF] copyrights: Replaced 'GNU General Public License' with 'GNU Affero General Public License'
...
bzr revid: uco@tinyerp.com-20101028065418-ahi6poaxn1aa5dmp
2010-10-28 12:24:18 +05:30
Harry (OpenERP)
c178f70944
[MERGE]
...
bzr revid: hmo@tinyerp.com-20100817062757-0pyn7a54etz2pk0j
2010-08-17 11:57:57 +05:30
MTR(OpenERP)
d781b93335
[IMP] product_margin, product_expiry,product_manufacturer: improve and cleaning
...
bzr revid: mra@mra-laptop-20100813072843-l72opp20yoiik3pg
2010-08-13 12:58:43 +05:30