Commit Graph
43429 Commits
Author SHA1 Message Date
Vo Minh Thu 43b8317657 [MERGE] merged 6.1.
bzr revid: vmt@openerp.com-20120305163730-tkva77i5hhdy9jd1
2012-03-05 17:37:30 +01:00
Launchpad Translations on behalf of openerp e4459562f2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228063010-woxw61j13uqq1edo
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229052656-iadyuga5sjaabrbl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120301051832-k8w3h3ibfqmdieub
bzr revid: launchpad_translations_on_behalf_of_openerp-20120302052336-7jib6zk2efcivip1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120304052133-o3zqfxzedgnq55f2
2012-03-04 05:21:33 +00:00
Olivier Dony 1e2ad76483 [FIX] *payroll: proper date calculations in tests, avoid issues on leap years
bzr revid: odo@openerp.com-20120229084240-afe5cay3r2wxpvoy
2012-02-29 09:42:40 +01:00
Launchpad Translations on behalf of openerp fefba7d11e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229052746-lhfn0qjqmzuqz1js
2012-02-29 05:27:46 +00:00
niv-openerp 9cad7deeed [fix] minor problem in m2o
lp bug: https://launchpad.net/bugs/923898 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120228144111-co9nl24o466zuzsb
2012-02-28 15:41:11 +01:00
Xavier Morel 29ec42b055 [FIX] base_synchro: the password field should be visible when trying to setup a server to synchronize
lp bug: https://launchpad.net/bugs/939581 fixed

bzr revid: xmo@openerp.com-20120228111626-i61rdqjs6g5v7bpn
2012-02-28 12:16:26 +01:00
Xavier Morel 4b74a35c76 [FIX] list paginator's 'last page' button: not all state was transferred between datasets during paginator configuration
lp bug: https://launchpad.net/bugs/939614 fixed

bzr revid: xmo@openerp.com-20120228101200-atisgrb2fb0eqi1g
2012-02-28 11:12:00 +01:00
Launchpad Translations on behalf of openerp f210e73f21 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055251-o6ajm1k0ya17sd2j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052201-liykx2ue4jufkcwc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055617-7bb3evbppqedlx8p
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228063037-0nhyn4iid36dorfs
2012-02-28 06:30:37 +00:00
Fabien Meghazi 6bda7286e3 [FIX] Fix binary upload button styling
bzr revid: fme@openerp.com-20120227171440-1o7w1jrv5rl2b4ov
2012-02-27 18:14:40 +01:00
Olivier Dony 3e61e9d497 [FIX] drop_view_if_exists: simpler and CASCADING implementation for pg 8.3+
OpenERP depends on PostgreSQL 8.3 so we can now
use 'IF EXISTS'. It's also necessary to 'CASCADE'
the drop, otherwise depending views will prevent
the deletion and thus update of the view.
Depending views will automatically be updated
later and thus re-created, so this is safe.

bzr revid: odo@openerp.com-20120227165737-z5fgb6fle9g0cylw
2012-02-27 17:57:37 +01:00
Xavier Morel 2b2ae48ea9 [FIX] progressbar fields display in group headers
also, weird computed progress bars (e.g. aggregates) with way too many digits

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

bzr revid: xmo@openerp.com-20120227152739-3pmu3dtqrbzx1x3m
2012-02-27 16:27:39 +01:00
Olivier Dony 506b274977 [FIX] ir.rule: rules should be cascade-deleted along with their model
bzr revid: odo@openerp.com-20120227152135-y3hukyoow0q0dkif
2012-02-27 16:21:35 +01:00
Olivier Dony a43f7940dc [FIX] ir.model: workaround for broken Python 2.6 implementations
Apparently on some RedHat/CentOS version certain
Python 2.6 version do not support more than
4 nested levels of boolean filters.

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

bzr revid: odo@openerp.com-20120227100953-2wgr0l621tpu1x4x
2012-02-27 11:09:53 +01:00
Launchpad Translations on behalf of openerp 3f2c207322 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120224053018-z4h7by0h8f5bov2x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055158-gr639s6rzw1io33x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052058-i6jsb4i97m78vftu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055542-vz7rbngenr8ynd46
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055258-f5ufpgcomzlqmahr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055623-0jhvbldsrq90jg22
2012-02-27 05:56:23 +00:00
Christophe Simonis f37ea622cb [FIX] point_of_sale: works when used in embed mode
bzr revid: chs@openerp.com-20120224144939-550wsvj448fk3yfb
2012-02-24 15:49:39 +01:00
Olivier Dony 769ea34281 [FIX] orm: model auto-init - better algorithm for detecting stale constraints during update
bzr revid: odo@openerp.com-20120223175851-bihxp0l0ax1xhf5g
2012-02-23 18:58:51 +01:00
Olivier Dony d09e165589 [IMP] hr: remove redundant active filter on employees search view
The filter is useless now that the server was fixed
at revision 4076
revision-id: odo@openerp.com-20120223141635-p117b5wvvreuj40c
to properly respect the `active` flag even when it is
inherited.
It is always possible to find deactived employees using
an advanced search with active = False.

bzr revid: odo@openerp.com-20120223145421-edyuc43r0mkn9lim
2012-02-23 15:54:21 +01:00
Xavier Morel a55e7148e3 [FIX] correctly set dataset index when selecting a record in list view, so switching to page/form switches to the first selected record, not the first record of the page
lp bug: https://launchpad.net/bugs/939314 fixed

bzr revid: xmo@openerp.com-20120223145157-rkkwg6pwcr6hh7st
2012-02-23 15:51:57 +01:00
Olivier Dony 819334f0aa [FIX] orm: inherited active fields should be used for the implicit filtering
This is for example used by hr.employee which
inherits from resource.resource, with the
`active` field located on the resource model.
Simplified some code too.

bzr revid: odo@openerp.com-20120223141635-p117b5wvvreuj40c
2012-02-23 15:16:35 +01:00
Xavier Morel 12825e4122 [FIX] correctly handle the user's menu_id being set to an action with domain=False (literally)
that's a bit stupid, but apparently people do set their menu action to a dashboard...

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

bzr revid: xmo@openerp.com-20120223134612-3sm2e4yq3hbjqnz7
2012-02-23 14:46:12 +01:00
Xavier Morel 50853cbaac [FIX] ability to backup databases in case listing databases is forbidden (via --no-database-list on the server)
lp bug: https://launchpad.net/bugs/939428 fixed

bzr revid: xmo@openerp.com-20120223133937-3115jyzjtbzequbq
2012-02-23 14:39:37 +01:00
olt@tinyerp.com 3be394de8a [FIX] pep8: tab -> space
bzr revid: olt@tinyerp.com-20120223094355-ejsm256vn58bn4i2
2012-02-23 10:43:55 +01:00
Najlaâ f2e81931f2 [FIX] account_followup: no need to have 'Only One Followup by Company' constraint
bzr revid: nel@tinyerp.com-20120223092424-020pozo0sl4hw2tg
2012-02-23 10:24:24 +01:00
Launchpad Translations on behalf of openerp cc193c268e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223052353-7wtilhl4ygsiebpm
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223052405-zjntmml4s0tldteu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223052409-078hdbrd4l8060cr
2012-02-23 05:24:09 +00:00
Olivier Dony 30dae1d7d6 [REL] OpenERP 6.1.1
bzr revid: odo@openerp.com-20120222114322-hl61qi2nan0mnbz0
2012-02-22 12:43:22 +01:00
Olivier Dony ac7bb7860b [REL] OpenERP 6.1.1
bzr revid: odo@openerp.com-20120222114031-ud189sie1j3vn9g0
2012-02-22 12:40:31 +01:00
Fabien Meghazi 6d743d7783 [FIX] Can't move kanban card from one group to another in some cases
lp bug: https://launchpad.net/bugs/937637 fixed

bzr revid: fme@openerp.com-20120222113718-ix9kb61ij8jg4tub
2012-02-22 12:37:18 +01:00
Antony Lesuisse 7ac41ee582 [REL] 6.1.1
bzr revid: al@openerp.com-20120222113007-tdi482n17x1j74l4
2012-02-22 12:30:07 +01:00
Olivier Dony 7f44f6b710 [MERGE] mail: gracefully handle missing user signature
bzr revid: odo@openerp.com-20120222112555-5j7cqaimndmc2lew
2012-02-22 12:25:55 +01:00
Stephane Wirtel 9041add81d [FIX] mail: Use a default value if the signature and the subject are empty
bzr revid: stw@openerp.com-20120222095342-nifzjg0ilgd3ln0p
2012-02-22 10:53:42 +01:00
Olivier Dony b5db852b3a [FIX] fields.binary: allow writing base64 unicode string values
The fields.binary type allows storing arbitrary
byte arrays, but it has been used historically
to store base64-encoded versions of the binaries.
This was partially related to the way these binary
values are serialized when transferred using the
standard XML-RPC protocol.
With the introduction of JSON-based RPC calls
alongside the 6.1 web client, these base64-encoded
binaries may now be deserialized as unicode ASCII
strings instead of 8-bit strings. That seems like
an acceptable behavior and we can simply coerce
these unicode strings to bytes strings as we know
they will be pure ASCII. Any non-ASCII unicode
value for binary field makes no sense and should
be passed as a byte string directly.

Thanks to Rui Barreiros for providing the final
hint in bug 919982 comments that lead to the
identification of this bug.

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

bzr revid: odo@openerp.com-20120222093937-quifmtsfc9gaa9ar
2012-02-22 10:39:37 +01:00
Xavier Morel c881a2b134 [FIX] autodoc references
bzr revid: xmo@openerp.com-20120222085727-qdwfgx92q3yv2gsj
2012-02-22 09:57:27 +01:00
Launchpad Translations on behalf of openerp 9b0c341975 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222065619-wdj17h21k8iuy3w6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222065704-3l8az0alwzd2mrmk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222065707-hp0u1vljdfgyjqxf
2012-02-22 06:57:07 +00:00
Antony Lesuisse bfee2b7ae2 [FIX] database get_list use wsgi hostname
bzr revid: al@openerp.com-20120221185739-7utcld4kcnf39fg5
2012-02-21 19:57:39 +01:00
Christophe Simonis 688e788cef [FIX] proxy-mode is now really active
bzr revid: chs@openerp.com-20120221185247-ywuthx4v7oz0baty
2012-02-21 19:52:47 +01:00
Xavier Morel fbf4c6dc0f [FIX] incorrect handling of saved filter group_by when not present or an array
bzr revid: xmo@openerp.com-20120221140517-fs0axg9w8irapw06
2012-02-21 15:05:17 +01:00
Olivier Dony 3fe255dbfd [MERGE] Update of the Italian chart of account, courtesy of Lorenzo Battistini (Agile BG)
bzr revid: odo@openerp.com-20120221134930-ek2c6x3kjp6e27lo
2012-02-21 14:49:30 +01:00
Jean-Christophe VASSORT c982362642 [FIX] opw 383657: hr_expense: When unit quantity or factor value is zero > get divide by zero error
bzr revid: jcv@openerp.com-20120221090112-74dihhclu1v36gts
2012-02-21 10:01:12 +01:00
Launchpad Translations on behalf of openerp a3ac698fe8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071328-fl3yjw2gawigfooh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120219063344-7w5y8nkweukg0f88
bzr revid: launchpad_translations_on_behalf_of_openerp-20120220061321-0z254064e8vsx286
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063558-wc526qfv4ko5s6q0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063603-medp0cjt2z5vy70x
2012-02-21 06:36:03 +00:00
Fabien Meghazi 5d71f85f7d [FIX] Broken reference field
lp bug: https://launchpad.net/bugs/936864 fixed

bzr revid: fme@openerp.com-20120220122208-k5pvpwodik78hnrq
2012-02-20 13:22:08 +01:00
Xavier Morel 79a8b39369 [FIX] avoid adding session_id and token fields in form if they are already there, reuse existing fields instead
lp bug: https://launchpad.net/bugs/936704 fixed

bzr revid: xmo@openerp.com-20120220115704-zxo024voy3dxa7qe
2012-02-20 12:57:04 +01:00
Olivier Dony 3f6524a6e2 [FIX] Correct remaining SQL now() calls, must use UTC
This is essential to have the proper behavior for
timestamps: on the database side we exclusively 
store UTC data (no DST issues, etc.) as naive
timestamps (to prevent Postgres from messing with them).
Inside OpenERP server/addons we work again with
pure UTC data (much simpler), and only render
them according to the user's timezone when they
are displayed in the user interface or rendered
in a PDF report.

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

bzr revid: odo@openerp.com-20120220105943-v3m0i50phrurt8x6
2012-02-20 11:59:43 +01:00
eLBati 4463376d44 Adding witholding tax.
Setting 'debiti per ritenute da versare' as payable in order to handle it along with the due payments.

See http://wiki.openerp-italia.org/doku.php/area_utente/requisiti/ritenuta_d_acconto#openerp

bzr revid: lorenzo.battistini@agilebg.com-20120218133908-gh12l4d4vbw95fmd
2012-02-18 14:39:08 +01:00
Launchpad Translations on behalf of openerp f95d98807c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071814-qv5c1xw4260ns8r8
2012-02-18 07:18:14 +00:00
Launchpad Translations on behalf of openerp dfa5449f02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218060208-gvsm4rrkca7yv031
2012-02-18 06:02:08 +00:00
Xavier Morel 404ac17e0e [FIX] evaluate compound context from treeview before executing action
not actually sure if ActionManager#do_action is supposed to get a literal or a nonliteral context at this point... but ViewManager(Action) does not seem to like nonlit contexts at all so...

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

bzr revid: xmo@openerp.com-20120217093541-pudzg8x4u1dhbkjf
2012-02-17 10:35:41 +01:00
Xavier Morel 8c2922a537 [FIX] base.module.upgrade: fix fields_view_get overload
lp bug: https://launchpad.net/bugs/928280 fixed

bzr revid: xmo@openerp.com-20120217091554-x1d0qvcvmj8z2oju
2012-02-17 10:15:54 +01:00
Antony Lesuisse 675aa4a549 [REL] OpenERP 6.1
bzr revid: al@openerp.com-20120216185110-gkoqaj3ncdy52hd3
2012-02-16 19:51:10 +01:00
Antony Lesuisse 98b30e9812 [REL] OpenERP 6.1
bzr revid: al@openerp.com-20120216184505-i1otb8cqauji2vun
2012-02-16 19:45:05 +01:00
Quentin (OpenERP) 0f500c57d9 [FIX] analytic: chart of analytic accounts crashing in some use cases
lp bug: https://launchpad.net/bugs/933411 fixed

bzr revid: qdp-launchpad@openerp.com-20120216180111-1sfod39gvj1387eq
2012-02-16 19:01:11 +01:00