Commit Graph
39563 Commits
Author SHA1 Message Date
Fabien Meghazi ec16432c5a [FIX] Dashboard actions does not honor @context and @domain
Currently naive implementation because it does not evaluate the domain & context.
The dashboard is already overloaded with XHRs.
We should use the xmo's python evaluator for context and domains if possible.

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

bzr revid: fme@openerp.com-20111117162716-6zaoyn2kwv2ioj0w
2011-11-17 17:27:16 +01:00
Xavier Morel 7c629a31cc [FIX] synchronization of o2m widget saving, avoid race condition when clicking on button of unsaved record
After saving, the formview would both refresh the form and lauch the
action itself, which launches a refresh of its own.

Issue is that o2m's filling of themselves (a read) is async and
triggered by the set_value on the o2m field, so the second reload of
the form would be interspersed (between the first reload and the end
of the o2ms loading), resulting in corrupted state for the o2ms if the
button's action somehow changed the contents of the o2m (it would
remove the old records and return brand new ids during the refresh):
the set_value on the o2m would empty the o2m's dataset cache, and the
returning fetch request would try to find in cache values removed from
it, or something, blowing up everything.

Anyway, this was fixed by ensuring the button action is only executed
after the form is completely done doing its post-save reload (using
the new async set_value). This is a tiny bit brittle in that onchanges
are synchronous but call set_value, so a set_value on an o2m from an
onchange may have issues. It also increases the flicker of the view,
as the o2m is reloaded twice in quick succession.

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

bzr revid: xmo@openerp.com-20111117161426-72jzhvv3dm387uom
2011-11-17 17:14:26 +01:00
Xavier Morel 6bd9084740 [FIX] issues with asynchronous set_value handling
* field could be changed from under the closure, use _.each
* There's a bug in Deferred.queue() when passing synchronous deferred
  (including non-deferred) it's instantanously resolved

bzr revid: xmo@openerp.com-20111117160009-s702939kji69v3zf
2011-11-17 17:00:09 +01:00
Raphael Collet bff6674525 [MERGE] lp:800100, make invoice number, mrp order ref, purchase order ref, sale order ref, and picking ref unique per company
bzr revid: rco@openerp.com-20111117154004-fbean9hqldvrsxdq
2011-11-17 16:40:04 +01:00
Harry (OpenERP) be1d64f860 [IMP] project: added new field "project_id" on delegrate wizard and refactor stuff of delegrate action
bzr revid: hmo@tinyerp.com-20111117150914-hkzrttoe3e2wzuvo
2011-11-17 20:39:14 +05:30
Quentin (OpenERP) bf99648acc [FIX] account_followup: fixed the multi company and multi currency behavior
bzr revid: qdp-launchpad@openerp.com-20111117145149-yuwk52cyy3jou3iw
2011-11-17 15:51:49 +01:00
Fabien Meghazi 4a3eca4636 [FIX] dashboard does not honor action/@view_mode
lp bug: https://launchpad.net/bugs/885996 fixed

bzr revid: fme@openerp.com-20111117142528-qydykmkvrdxefp8f
2011-11-17 15:25:28 +01:00
Kuldeep Joshi (OpenERP) aca8c57f94 [FIX]crm: change the context
lp bug: https://launchpad.net/bugs/889056 fixed

bzr revid: kjo@tinyerp.com-20111117133929-9yi8lmpaurj3rhsa
2011-11-17 19:09:29 +05:30
Fabien Meghazi efbef31770 [FIX] callers of on_record_loaded to use promises
bzr revid: fme@openerp.com-20111117131816-991odq4m45146vfv
2011-11-17 14:18:16 +01:00
Fabien Meghazi 5ebcc65fc5 [FIX] Fixed data#read_index() so it returns same argument to callback and to .then()
bzr revid: fme@openerp.com-20111117130913-lji983yp8b7vb0do
2011-11-17 14:09:13 +01:00
Fabien Meghazi 41aded04c4 [IMP] Core callbacks always return value of original method
instead of last callback in the stack

bzr revid: fme@openerp.com-20111117130802-gyrzythtzs2nzmz5
2011-11-17 14:08:02 +01:00
Kuldeep Joshi (OpenERP) 8a2f152dab [FIX]project_issue: change in csv file
bzr revid: kjo@tinyerp.com-20111117125754-ixvdmq4wmyi47xoa
2011-11-17 18:27:54 +05:30
Bharat (OpenERP) 0037710e5d [FIX] hr : Made copy method in hr_payroll_account/hr_payroll_account.py inorder to make move_id field false when the payslip is duplicated
lp bug: https://launchpad.net/bugs/891532 fixed

bzr revid: bde@tinyerp.com-20111117124811-i162so6m6shc0054
2011-11-17 18:18:11 +05:30
Fabien Meghazi c4a10281e4 [IMP] FormView: on_record_loaded returns a promise
bzr revid: fme@openerp.com-20111117124319-61ruoa9g8we1a438
2011-11-17 13:43:19 +01:00
Christophe Simonis d673d7325c [FIX] web_process: qweb template loading
bzr revid: chs@openerp.com-20111117130237-wqiqdrleiv2mwyf8
2011-11-17 14:02:37 +01:00
Raphael Collet 551039423c [FIX] account_voucher/test: fix yaml syntax
bzr revid: rco@openerp.com-20111117122904-i05ibw4eh2t7pv5g
2011-11-17 13:29:04 +01:00
Xavier Morel c418cfcb9d [FIX] res.config: ensure there is a context before checking its content
lp bug: https://launchpad.net/bugs/891187 fixed

bzr revid: xmo@openerp.com-20111117120318-r9mns1w1vh9ea22b
2011-11-17 13:03:18 +01:00
Tejas (OpenERP) 235ae1d6a2 demo data: set a stage in a maximum of record in order to display a good view in kanban (all column diplayed)
bzr revid: tta@openerp.com-20111117120023-4rrsjok67ksyox1v
2011-11-17 17:30:23 +05:30
Quentin (OpenERP) 03ef4eb14c [FIX] account_voucher: fixed error in yaml test
bzr revid: qdp-launchpad@openerp.com-20111117114849-fce4suyarul4v3i2
2011-11-17 12:48:49 +01:00
niv-openerp 207933a632 [imp] nivified product view
bzr revid: nicolas.vanhoren@openerp.com-20111117113410-c8coka92ujkrqufv
2011-11-17 17:04:10 +05:30
Fabien Meghazi 0fc1167d60 [IMP] Dashboard: disable selectable flags for list views
bzr revid: fme@openerp.com-20111117111930-xfbjea3nfgprt2ie
2011-11-17 12:19:30 +01:00
Fabien Meghazi eaee8c47b0 [IMP] Allows to define options per view in action flags
bzr revid: fme@openerp.com-20111117111857-bot6h87bh4tv3dfw
2011-11-17 12:18:57 +01:00
Olivier Dony 8554190f34 [FIX] edi: remove duplicate loading of base template, causing duplicate widgets
bzr revid: odo@openerp.com-20111117110034-02gfmsl44y9ib70p
2011-11-17 12:00:34 +01:00
Fabien Pinckaers 666922776e [IMP] hire employee to open employee form
bzr revid: fp@tinyerp.com-20111117105301-6dwnjpqnbj7m5yof
2011-11-17 11:53:01 +01:00
Divyesh Makwana (Open ERP) 403d9194c7 [IMP] mrp : Improve the error message
bzr revid: mdi@tinyerp.com-20111117103737-iqzj2x7pggamm54q
2011-11-17 16:07:37 +05:30
Yogesh (OpenERP) aa08bb9368 [FIX] Vieweditor :- if type is tree then pass list view in action.
bzr revid: ysa@tinyerp.com-20111117101316-9t8saf6t9wfgr9yz
2011-11-17 15:43:16 +05:30
Kirti Savalia (OpenERP) 7c2cb8d659 [FIX]:in stock real time accounting wrong values for stock moves with purchase unit
lp bug: https://launchpad.net/bugs/889093 fixed

bzr revid: ksa@tinyerp.com-20111117100752-774f7kkcfr1wtajg
2011-11-17 15:37:52 +05:30
Raphael Collet 893d7a655b [FIX] point_of_sale/test: fix context in records, by making them proper YAML literals
bzr revid: rco@openerp.com-20111117100544-emxxijuqrf6w4q7q
2011-11-17 11:05:44 +01:00
Yogesh (OpenERP) fa079e79f5 [FIX]
bzr revid: ysa@tinyerp.com-20111117095854-w7ivkrucm32g5ug9
2011-11-17 15:28:54 +05:30
Kuldeep Joshi (OpenERP) b18c2321c3 [FIX]project_issue: add right model_crm_case_section to project user
lp bug: https://launchpad.net/bugs/890968 fixed

bzr revid: kjo@tinyerp.com-20111117095727-lz4ti74gifroauog
2011-11-17 15:27:27 +05:30
Numerigraphe - Lionel Sausin ff59fb5db9 [IMP] increase the stock move name's size
bzr revid: ls@numerigraphe.fr-20111117095214-aar5d4sdu74l113s
2011-11-17 10:52:14 +01:00
niv-openerp 7795de9921 [merge] process view
bzr revid: nicolas.vanhoren@openerp.com-20111117092845-oo427719x3mzpq7o
2011-11-17 14:58:45 +05:30
Fabien Pinckaers aba811fc75 [IMP] better demo data hr
bzr revid: fp@tinyerp.com-20111117092003-pcxh5tmgdsc6mioy
2011-11-17 10:20:03 +01:00
Xavier Morel 49d766fbcc [FIX] edi: don't blow up in stand-alone openerp-web mode
bzr revid: xmo@openerp.com-20111117091712-xa94cuo92lwuliom
2011-11-17 10:17:12 +01:00
Fabien Meghazi 42cdd75942 [FIX] Strange overflow of unwrapped text in 100% width buttons under Firefox
lp bug: https://launchpad.net/bugs/885765 fixed

bzr revid: fme@openerp.com-20111117090117-m5du8bph807nhpju
2011-11-17 10:01:17 +01:00
Yogesh (OpenERP) fa3998b744 [IMP] Vieweditor :- improve edit field dialog box.
bzr revid: ysa@tinyerp.com-20111117084739-lzj2jw8woj984054
2011-11-17 14:17:39 +05:30
Naresh (OpenERP) 9589ee8d34 [FIX]:fix useless creat of log record for 'x2M' in read operation
bzr revid: nch@tinyerp.com-20111117084438-fx63kcqx3my59sxa
2011-11-17 14:14:38 +05:30
Fabien Pinckaers e58a82c2b3 [IMP] hr_timesheet & project bugfixes
bzr revid: fp@tinyerp.com-20111117082810-zzwsg5c2e3l83epz
2011-11-17 09:28:10 +01:00
niv-openerp 48bd70a64a [imp] nivified category view
bzr revid: nicolas.vanhoren@openerp.com-20111117073956-m0u6ehdd0lg9o71g
2011-11-17 13:09:56 +05:30
Kuldeep Joshi (OpenERP) 5dff282049 [FIX]project_long_term: remove dependency of resource module
bzr revid: kjo@tinyerp.com-20111117072651-74x5v5jh27g1g4ms
2011-11-17 12:56:51 +05:30
Naresh (OpenERP) 98f060b128 [IMP]:added doc string for missing methods
bzr revid: nch@tinyerp.com-20111117072518-iohc292j52qke927
2011-11-17 12:55:18 +05:30
vishmita 223c3a7b8b [FIX]Fixed code for if help is false.
bzr revid: vja@vja-desktop-20111117071452-0n1pxy6zwbwgo3dg
2011-11-17 12:44:52 +05:30
Naresh (OpenERP) f2c68745f0 [FIX/IMP/REF]:1::fix copy,unlink,workflow actions,refactored the way data was processed and logged for the actions and workflow actions.
bzr revid: nch@tinyerp.com-20111117070905-14b23ir45vx7rg7x
2011-11-17 12:39:05 +05:30
Yogesh (OpenERP) 3da3b4873a [IMP] Vieweditor :- improve widget.
bzr revid: ysa@tinyerp.com-20111117070840-obtnw5c98e7ywncz
2011-11-17 12:38:40 +05:30
Kunal Chavda (OpenERP) 9cf9849c4b [FIX]Fixed code for showing model name in title of process view.
bzr revid: kch@tinyerp.com-20111117065953-pqse8i6mxyptw6g5
2011-11-17 12:29:53 +05:30
Vidhin Mehta (OpenERP) d272f9d03b [IMP] implement functionlity of new field add.
bzr revid: vme@tinyerp.com-20111117065525-60ooggze1xh38v63
2011-11-17 12:25:25 +05:30
Divyesh Makwana (Open ERP) 0a2f3dff17 [IMP] stock : Improve the error message
bzr revid: mdi@tinyerp.com-20111117064409-3uxjcbd5g1y7jmrm
2011-11-17 12:14:09 +05:30
Kuldeep Joshi (OpenERP) 7e7cb6c131 [FIX]project: add resource_calendar_id field in project.project
lp bug: https://launchpad.net/bugs/884208 fixed

bzr revid: kjo@tinyerp.com-20111117061503-4bos5thfpdfubkp0
2011-11-17 11:45:03 +05:30
Yogesh (OpenERP) 7a71c2c821 [IMP] vieweditor :- improve some small issue.
bzr revid: ysa@tinyerp.com-20111117061136-h4eh9ksi2kydqaz5
2011-11-17 11:41:36 +05:30
Yogesh (OpenERP) 1d76679c4a [IMP] vieweditor :- used setAttribute and removeAttribute instead of attr.
bzr revid: ysa@tinyerp.com-20111117060520-x0z8xvb4q5s8s1yt
2011-11-17 11:35:20 +05:30