Commit Graph

48 Commits

Author SHA1 Message Date
Xavier, Sodexis 70847ac5c0 [FIX] account_analytic_default: Default analytic account for invoice on delivery
When creating an invoice from a DO,
if there is no analytical account defined on the SO,
then use the default analytical account for that product.

Closes #9725
opw-657492
2015-11-26 16:34:02 +01: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
Josse Colpaert 0aad6b0498 [IMP] Check other comments on pull request: xmlid, no split in context + continue improve receipts instead of receptions 2014-07-16 11:58:22 +02:00
Josse Colpaert 739a1d0051 [IMP] Add buttons product and product templates for analytic rules 2014-07-13 09:56:43 +02:00
Martin Trigaux 46bf4db884 [FIX] small fixes
- set the company_id parameters at the end of the method to avoid incompatibities with calls in account_analytic_plans
- instead of checking the context, actually pass the company_id argument in the product_change from uos_id_change
2014-06-10 14:31:36 +02:00
fdesmottes 37bff3b62c Update account_analytic_default.py
Fix issue #270 : account_analytic_default doesn't work with company_id condition
2014-06-10 14:23:08 +02:00
Gery Debongnie d8fef2825e [FIX] code cleanup (addon account_analytic_default)
improves the _rules_count method (remove try/catch and better logic), and
removes now useless one2many field rules_ids

bzr revid: ged@openerp.com-20140507090841-jptga7kjrverd25n
2014-05-07 11:08:41 +02:00
Randhir Mayatra rma-openerp 96ea9392aa [IMP] convert button into stat button for products
bzr revid: rma@tinyerp.com-20140324135621-13t191kmnn6t22jk
2014-03-24 19:26:21 +05:30
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +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
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 49597f0e66 [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221164808-kdjrtcbgma4dr3on
2012-12-21 17:48:08 +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
Mayur Maheshwari (OpenERP) 09a5fbba59 [IMP]all: improve some tool-tip
bzr revid: mma@tinyerp.com-20120720092653-197y2amboq3hv9e5
2012-07-20 14:56:53 +05:30
Rajesh Prajapati (OpenERP) 71122ae47a [IMP]tooltip : I have changed the tooltip of fields as suggested
bzr revid: rpr@tinyerp.com-20120713101751-zokuph2bcpcmlfc5
2012-07-13 15:47:51 +05:30
Sbh (Openerp) d494230c87 [IMP] : rename address_id with parnter_id
bzr revid: sbh@tinyerp.com-20120330081136-gyllf3gx180clebd
2012-03-30 13:41:36 +05:30
Sbh (Open ERP) d499f58b77 [Fix] account_analytic_default: fix field vaule
bzr revid: kjo@tinyerp.com-20120321122112-r6icwv3fr3wbpn8b
2012-03-21 17:51:12 +05:30
Sbh(Openerp) 6767c92dfb [Fix] account_analytic_default: remove partner_id
bzr revid: kjo@tinyerp.com-20120321112209-i9hphbcu0g60fqtg
2012-03-21 16:52:09 +05:30
Kuldeep Joshi (OpenERP) d781f175ae [IMP]account_analytic_default: remove address field from method
bzr revid: kjo@tinyerp.com-20120306055201-cc5065cjq6xx8r2i
2012-03-06 11:22:01 +05:30
Hardik Ansodariya cbb9b5ba6a [FIX] account : could not create invoice line if account_analytic_default is installed
lp bug: https://launchpad.net/bugs/869841 fixed

bzr revid: bde@tinyerp.com-20111007114237-2u5y7zqii4iv8m5z
2011-10-07 17:12:37 +05:30
vth ed0ccd6c3b [IMP] account_analytic_default : add group by and filter in search view
bzr revid: vth@tinyerp.com-20101012115315-adg21e4peyc3yhba
2010-10-12 17:23:15 +05:30
psi (Open ERP) faf70e7b3a [IMP] account_analytic_analysis, account_analytic_default, account_analytic_plans: code cleaning
bzr revid: psi@tinyerp.co.in-20101011112550-ygkqmzmuhu1j7dm3
2010-10-11 16:55:50 +05:30
Vianney - www.akretion.com.br 9161b4c4c7 [FIX] Account_analytic_default : Corrected salesman selection at invoice line creation
lp bug: https://launchpad.net/bugs/656036 fixed

bzr revid: jvo@tinyerp.com-20101007093532-vacgy037cqlis1od
2010-10-07 15:05:32 +05:30
Fabien Pinckaers 786e1c7751 fix
bzr revid: fp@tinyerp.com-20100901165841-4jvdus9bz1r1rs0e
2010-09-01 18:58:41 +02:00
pap (openerp) fffc508eb9 [IMP]:code cleaning
bzr revid: pap@tinyerp.co.in-20100706145803-tf7v1pukh03sdals
2010-07-06 20:28:03 +05:30
JMA(OpenEPR) 1d9cbd3aae [FIX] account_analytic_default, sale : currection in product_id_change method.
bzr revid: vra@tinyerp.com-20100706122208-2wm4opqiddzqympi
2010-07-06 17:52:08 +05:30
pap (openerp) c3b218a494 [REM]:remove print
bzr revid: pap@tinyerp.co.in-20100702141601-2nbwv09y0v79icm8
2010-07-02 19:46:01 +05:30
pap (openerp) d675363930 [IMP]: clean code in account_analytic_analysis, account_analytic_default and account_analytic_plans
bzr revid: pap@tinyerp.co.in-20100702140905-uud0pzhb88jmb48n
2010-07-02 19:39:05 +05:30
Jay (Open ERP) 7d8873c4ef [FIX] Account_analytic_default : account_get() corrected
bzr revid: jvo@tinyerp.com-20100525062622-7e32bglcjs6l1ds4
2010-05-25 11:56:22 +05:30
Fabien Pinckaers a3dd9f05dc [FIX] 3 security rules, [IMP] object names for logs
bzr revid: fp@tinyerp.com-20100519183232-9zieyfnah526r312
2010-05-19 20:32:32 +02:00
Jay(Open ERP) f2b2ef9c3a [FIX] (5.0 - 6.0)Account_analytic_default : Invoice creation from SO corected
bzr revid: vra@tinyerp.com-20100510132846-2najk2vfxuhxhykc
2010-05-10 18:58:46 +05:30
mra (Open ERP) c4a5925fb0 [FIX] account_analytic_default: product_id_change on invoice line argument mismatch with super method
bzr revid: mra@tinyerp.com-20100224063648-fywwzv2b11atf35z
2010-02-24 12:06:48 +05:30
HDA (OpenERP) 0b2bb31992 Merge from stable
bzr revid: hda@tinyerp.com-20100121151350-58pcefq2tdw2ge2l
2010-01-21 20:43:50 +05:30
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
uco (OpenERP) 8d3fb81f4e [IMP]: Generalization of tooltips: Added tooltips for sequence field
bzr revid: uco@tinyerp.co.in-20091221131412-xv3u9m8556xkyg6t
2009-12-21 18:44:12 +05:30
GPA,JVO ee88e0641f [FIX] Account_analytic_default : Analytic Account value set from picking,sale
lp bug: https://launchpad.net/bugs/493444 fixed

bzr revid: jvo@tinyerp.com-20091209093302-q6i4ymvpurkmk8wv
2009-12-09 15:03:02 +05:30
GPA (OpenERP) a481bfb190 [FIX] account_analytic_default: now it will make entry in anayltic account on invoice line when picking done
lp bug: https://launchpad.net/bugs/493444 fixed

bzr revid: mra@tinyerp.com-20091208100200-1jt99uj96pfnmvn8
2009-12-08 15:32:00 +05:30
Panos Christeas 8d0b4a7418 [MERGE] merge from lp:~xrg/openobject-addons/doc2-5.2
bzr revid: hmo@tinyerp.com-20091126135400-z32iycvadbt9so8n
2009-11-26 19:24:00 +05:30
PSO(OpenERP) eb0b928cc0 Changed licencing terms
bzr revid: hda@tinyerp.com-20091014111534-1vtk21rz8byhszzf
2009-10-14 16:45:34 +05:30
ChristopheChauvet(syleam) 41e8ed59ef changed encoding to coding in all py files
lp bug: https://launchpad.net/bugs/357182 fixed

bzr revid: hda@tinyerp.com-20091013055837-3ntnbe8b938xmk97
2009-10-13 11:28:37 +05:30
Christophe Chauvet 28ede437d9 [IMP]
* add missing tools.translate 
 * translate all missing raise
 * add encoding: utf-8 in missing file
 * add vim comment (when missing) at the end of file
 * convert tabs to spaces (PEP8 Compliant)
 * more pythonic when concatenate value

bzr revid: christophe.chauvet@syleam.fr-20090306221824-xt1oeip60sq8fwws
2009-03-06 23:18:24 +01:00
Fabien Pinckaers dc9a96d941 modifs
bzr revid: fp@tinyerp.com-20090124015545-1fkj73ia52856t71
2009-01-24 02:55:45 +01:00
Stephane Wirtel 21f104a506 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221250-55q32ayj2t8kzb2k
2009-01-04 23:12:50 +01:00
Christophe Simonis f5fad0ba30 passing modules in GPL-3
bzr revid: christophe@tinyerp.com-20081103191856-jhcivvwb16fvz2os
2008-11-03 20:18:56 +01:00
Fabien Pinckaers 7b41f1a679 removed print
bzr revid: fp@tinyerp.com-20080903135250-8zuocq9zie0vac9z
2008-09-03 15:52:50 +02:00
Fabien Pinckaers f9afd1d739 Modifications Multi-plans
bzr revid: fp@tinyerp.com-20080903134719-ubt3ugindpmjuqjw
2008-09-03 15:47:19 +02:00
Fabien Pinckaers 9c8322379c Bugfixed Analytic Defaults
bzr revid: fp@tinyerp.com-20080903104850-6ubh173gezro1oge
2008-09-03 12:48:50 +02:00
Fabien Pinckaers 4fa244a1d3 Improvements in Analytic Devaults
bzr revid: fp@tinyerp.com-20080902145406-bjz2javtfwvb71zy
2008-09-02 16:54:06 +02:00