Commit Graph

26376 Commits

Author SHA1 Message Date
psi (Open ERP) ec8823d2d3 [FIX] account, account_*, hr_*, point_of_sale, sale: performance issues - account_move_lines and others
lp bug: https://launchpad.net/bugs/693833 fixed

bzr revid: psi@tinyerp.co.in-20110117112056-ryw0wyjltqzeuhzt
2011-01-17 16:50:56 +05:30
Mustufa Rangwala ae717cd9ac [MERGE] [6.0RC1][hr_timesheet] Problems printing timesheet reports
bzr revid: mra@mra-laptop-20110117111333-yieqqvd0ljh3c8mf
2011-01-17 16:43:33 +05:30
P. Christeas 8e809ace7f Merge branch 'official-trunk' into deb-scripts
bzr revid: xrg@openerp.com-20110117111022-qmkv7jpo448iwvyh
2011-01-17 12:10:22 +01:00
mtr f422e1be8a [FIX] hr: added domain on 'Home Address' of Employee
lp bug: https://launchpad.net/bugs/703836 fixed

bzr revid: mtr@mtr-20110117110645-d8n0jg3gp45wle9v
2011-01-17 16:36:45 +05:30
mtr 2ae8271dd9 [MERGE] branch merged with lp:~openerp-dev/openobject-addons/trunk-dev-addons3
bzr revid: mtr@mtr-20110117110039-zxypi7plebs2scx3
2011-01-17 16:30:39 +05:30
Mustufa Rangwala e1438f29fa [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20110117103716-flhzdron1kf6n3rf
2011-01-17 16:07:16 +05:30
Stephane Wirtel bbd1cd025b [IMP] Add an external dependency for users_ldap
bzr revid: stephane@openerp.com-20110117102936-owbi526stgjd9ucc
2011-01-17 11:29:36 +01:00
Stephane Wirtel 34f1d34f77 [IMP] Add the missing certificates
bzr revid: stephane@openerp.com-20110117102616-xhdg1e24reijv88k
2011-01-17 11:26:16 +01:00
niv-openerp 74476a880a [IMP] Changed default values for journal items view mode.
bzr revid: nicolas.vanhoren@openerp.com-20110117114049-c99yxh045pm6bhg9
2011-01-17 12:40:49 +01:00
Yogesh (OpenERP) 0fdcdcaf6a [MERGE] res.request: request_get() should not count closed requests in current ones
lp bug: https://launchpad.net/bugs/698039 fixed

bzr revid: odo@openerp.com-20110117102702-xkk6dqvgcrhhwsci
2011-01-17 11:27:02 +01:00
Mustufa Rangwala 2f09faba42 [MERGE] an employee shouldn't be able to see expenses and holidays of others employee
bzr revid: mra@mra-laptop-20110117102556-evp00eqczxuy5l5z
2011-01-17 15:55:56 +05:30
qdp-launchpad@tinyerp.com 23606385d4 [MERGE] merged the dev2 branch
bzr revid: qdp-launchpad@tinyerp.com-20110117101958-mb28vtb0qckoayn3
2011-01-17 11:19:58 +01:00
Mustufa Rangwala 269b43ca72 [MERGE] Installing account_analytic_analysis you have a maximu of 2147 analytic accounts
bzr revid: mra@mra-laptop-20110117101145-fm4aijukjjn502gs
2011-01-17 15:41:45 +05:30
Olivier Dony 5b2e2371ca [FIX] res.partner: reverted incorrect patch for Addresses action, until a proper fix is done
Reverted revision: 3152.1.1  fde@openerp.com-20101222154236-vpuqk0ou0svugwkg

lp bug: https://launchpad.net/bugs/703226 fixed

bzr revid: odo@openerp.com-20110117100448-eba1mhz3gt45mu69
2011-01-17 11:04:48 +01:00
qdp-launchpad@tinyerp.com f28ed00264 [REF] mrp_repair, stock: small code refactoring
bzr revid: qdp-launchpad@tinyerp.com-20110117100122-gson7kged6atppnb
2011-01-17 11:01:22 +01:00
qdp-launchpad@tinyerp.com f2784aecc5 [FIX] stock: removed required=True on prodlot field of update stock wizard, in its definition in the .py file
bzr revid: qdp-launchpad@tinyerp.com-20110117095836-518n6w73qodqrl8o
2011-01-17 10:58:36 +01:00
P. Christeas 814c4af299 [FIX] osv: _constraints can be inherited by redefining a constraint with the same name
Indeed, when we define an expression like

class bar(osv.osv):
  _inherit = 'bar.bar'

  def _check_foo(self, cr, uid, ids, context):
      return True

  _constraints = [ (_check_foo, "Foo failed!", ['foo']) ]

... it means that _check_foo will be passed as an *object* to the model's
structure of _constraints. Therefore, it would be unequal and just append
the list of any existing constraints. So, an older (_check_foo, , ['foo'])
would always remain active using the previous code. This has to do with
the _check_foo being an unbound (ie. not inheritable) function.

Now, we check the /string name/ of the function, too. We say that if the
inherited class's constraint function has the same name "_check_foo", the
old ones shall be replaced.

Note: this MAY introduce unpredictable results, if several modules try
to override the same inherited constraint. There is no guaranteed order
of inheritance. Please avoid using this feature unless necessary.

lp bug: https://launchpad.net/bugs/700451 fixed

bzr revid: odo@openerp.com-20110117094750-4lyzx165f1z1zgl4
2011-01-17 10:47:50 +01:00
mtr bfea6901f1 [IMP] hr_timesheet:added space(Enter)
bzr revid: mtr@mtr-20110117094353-1eaz08p2ckgmjquo
2011-01-17 15:13:53 +05:30
P. Christeas 3aed57ec23 Merge branch 'official-trunk' into deb-scripts
bzr revid: p_christ@hol.gr-20110117094021-rbjm55dip17tnuy4
2011-01-17 11:40:21 +02:00
mtr 00683a79af [IMP] hr_timesheet:again removed extra space
bzr revid: mtr@mtr-20110117093644-692ixf9oxk0jkn4i
2011-01-17 15:06:44 +05:30
mtr 60acda9965 [IMP] hr_timesheet: removed the extra space
bzr revid: mtr@mtr-20110117092604-sy4hkiugo3prx3pe
2011-01-17 14:56:04 +05:30
ARA (OpenERP) db2b558de3 [MERGE] merge from dev3
bzr revid: ara@tinyerp.com-20110117091244-zcbgnnujzh0a992c
2011-01-17 14:42:44 +05:30
ARA (OpenERP) 2ee52c73f3 [FIX]hr_timesheet: Problems printing timesheet reports
lp bug: https://launchpad.net/bugs/695960 fixed

bzr revid: ara@tinyerp.com-20110117090955-ofb3iiabb99e3zqt
2011-01-17 14:39:55 +05:30
psi (Open ERP) de9b76381c [FIX] account_analytic_analysis: Installing account_analytic_analysis you have a maximu of 2147 analytic accounts
lp bug: https://launchpad.net/bugs/699809 fixed

bzr revid: psi@tinyerp.co.in-20110117085902-olq2k7950948uetd
2011-01-17 14:29:02 +05:30
Mustufa Rangwala 82f3e85103 [MERGE] merge frm trunk addons
bzr revid: mra@mra-laptop-20110117085525-fyp0stkl1g8gi6kx
2011-01-17 14:25:25 +05:30
Mustufa Rangwala 9fe22ea6ba [FIX] Account: Cannot add an analytic account in a bank statement, Domain added on cash statement for analytic_id field (searching for parent.company's analytic account now and type!=view)
lp bug: https://launchpad.net/bugs/701105 fixed

bzr revid: mra@mra-laptop-20110117085007-n3k115qodk3n6ra4
2011-01-17 14:20:07 +05:30
mtr 028530f9eb [FIX] hr_attendance,hr_expense,hr_holidays: added 'ir.rule' for group 'Employee'
lp bug: https://launchpad.net/bugs/702805 fixed

bzr revid: mtr@mtr-20110117084537-jrsy3wg68io8z8e8
2011-01-17 14:15:37 +05:30
P. Christeas 795b2bdcae expression: fix function.search() when it does not restrict
Triggered by [Bug 702340]

When we try to search a composite expression like:
   [( 'ourfoo.subfoo', '=' , True) ]
.. where subfoo is a function field of the model ofourfoo field,
the framework will call subfoo.search([('subfoo','=',True)]).
The latter shall return a domain expression that will restrict
the search on 'ourfoo'.

When the returned expression is empty, meaning "match all", the algebra
on the parent expression would come up with an invalid  [..., '&', ( 1, '=', 1) ]
sequence.

bzr revid: p_christ@hol.gr-20110117084108-vt1qe72lhw8ldxqm
2011-01-17 10:41:08 +02:00
P. Christeas c180358e30 ir.model: fix loading of data, for inheriting models
Since a recent commit, non (long, int) values will propagate, so we'd
better not use inherit_id = browse_record(...) as a value in create()'s
dict.

Previously, it did work because we define __int__() so that:
    int(browse_record(...)) == browse_record(...).id

bzr revid: p_christ@hol.gr-20110117084054-8qv5uc4vt4w9aygv
2011-01-17 10:40:54 +02:00
psi (Open ERP) fe62b0d406 [MERGE] merge with dev-addons3
bzr revid: psi@tinyerp.co.in-20110117083523-iqogm76b7l7bvc0q
2011-01-17 14:05:23 +05:30
ARA (OpenERP) e0c3983eb6 [MERGE] merge from dev3
bzr revid: ara@tinyerp.com-20110117083319-zw22v2bvypl3z8bf
2011-01-17 14:03:19 +05:30
Fabien Pinckaers 7c95acb04c [FIX] lp 701017
bzr revid: fp@tinyerp.com-20110117083122-aed5jqigyt1vq677
2011-01-17 09:31:22 +01:00
Fabien Pinckaers 4594829c20 [FIX] improvement in POS lp 702115
bzr revid: fp@tinyerp.com-20110117082847-n9evkxy2h8ceawiy
2011-01-17 09:28:47 +01:00
Fabien Pinckaers 9d9719a667 [FIX] lp 696779
bzr revid: fp@tinyerp.com-20110117081542-qdk42pa95vctkqd0
2011-01-17 09:15:42 +01:00
Fabien Pinckaers a51ab82160 [fIX] lp 701480
bzr revid: fp@tinyerp.com-20110117080556-3i3d4z4gdktpmvpd
2011-01-17 09:05:56 +01:00
qdp-launchpad@tinyerp.com 25341b78cb [MERGE] merged with main addons branch
bzr revid: qdp-launchpad@tinyerp.com-20110117080048-h0e64af48ru2bkvp
2011-01-17 09:00:48 +01:00
Fabien Pinckaers 147c88053f [IMP] add two incoterms from Alexis Delattre
bzr revid: fp@tinyerp.com-20110117075857-gaulvotztcdbz753
2011-01-17 08:58:57 +01:00
Fabien Pinckaers 77ca6ae2b0 [IMP] Add incoterm menu
bzr revid: fp@tinyerp.com-20110117075559-ivjti3ke5wcx1on8
2011-01-17 08:55:59 +01:00
Fabien Pinckaers a25ec4025b [FIX] lp 701067 from Xavier Alt
bzr revid: fp@tinyerp.com-20110117074534-hwg1hwb0znv0dkaj
2011-01-17 08:45:34 +01:00
Fabien Pinckaers b43cde3fc6 fix
bzr revid: fp@tinyerp.com-20110117074114-48gyv2q01kx7for5
2011-01-17 08:41:14 +01:00
Fabien Pinckaers 948e9172ce [FIX] lp 703088
bzr revid: fp@tinyerp.com-20110117073511-94kur7vzlhyfq9zt
2011-01-17 08:35:11 +01:00
Fabien Pinckaers 4e0bc0926d [FIX] lp 703649
bzr revid: fp@tinyerp.com-20110117072932-4y3jmdgo2s9ushj6
2011-01-17 08:29:32 +01:00
aag (OpenERP) 8ac5dc211d [FIX] MRP:warehouse user is now be able to process a stock move
lp bug: https://launchpad.net/bugs/702449 fixed

bzr revid: aag@tinyerp.co.in-20110117070028-86mfyq4itkbbim6m
2011-01-17 12:30:28 +05:30
rha@tinyerp.com ed8421b0d9 [MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons2
bzr revid: rha@tinyerp.com-20110117065333-0s3wgipgj096jejg
2011-01-17 12:23:33 +05:30
ron@tinyerp.com 865b95aac8 [MERGE]Merged with trunk-dev-addons2
bzr revid: ron@tinyerp.com-20110117064137-xelaye6uw0p9tcyd
2011-01-17 12:11:37 +05:30
ksa (Open ERP) 46a066686d [IMP]: Improvement for bug-701017
bzr revid: ksa@tinyerp.co.in-20110117063818-r8w887avp7lp34h0
2011-01-17 12:08:18 +05:30
rha@tinyerp.com b690772353 [Fix]: performance issues - stock_move, account_move_lines and others
lp bug: https://launchpad.net/bugs/693833 fixed

bzr revid: rha@tinyerp.com-20110117062231-5u6h83i84a05rkki
2011-01-17 11:52:31 +05:30
Mustufa Rangwala dcc21af8d2 [MERGE] Account: account_analytic_plan break the creation of inovice from analytic lines
bzr revid: mra@mra-laptop-20110117055637-q6rgiptw70h9169q
2011-01-17 11:26:37 +05:30
Mustufa Rangwala 68f406f77b [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20110117053424-jijqj9nt2qupmczn
2011-01-17 11:04:24 +05:30
psi (Open ERP) 6cc21d77fa [FIX] account: account_analytic_plan break the creation of inovice from analytic lines
lp bug: https://launchpad.net/bugs/701895 fixed

bzr revid: psi@tinyerp.co.in-20110117051525-3lwmprov1zamc2vp
2011-01-17 10:45:25 +05:30