Commit Graph

69520 Commits

Author SHA1 Message Date
Xavier Morel 5f956523d4 [IMP] flow of workflow.workitem.process
bzr revid: xmo@openerp.com-20130319154857-q7l99vyqtksegiy0
2013-03-19 16:48:57 +01:00
Xavier Morel 2d251ea987 [REM] unused openerp.workflow.common
bzr revid: xmo@openerp.com-20130319153422-0s7sly0cjg491s0b
2013-03-19 16:34:22 +01:00
Thibault Delavallée 027c419181 [MERGE] 'Invite & Quick Create User' update. The server branch holds in res_users.create() the support of key in context, allowing to put xml_ids of user groups in the context of relational fields linking to res.users. The purpose of this modification is to quick-create users that will have the access rights related to the functional meaning of the field. For example creating an user in the 'Responsible' field of a task should add him in the group related to project management.
Example of use : <field name="user_id" string="Project Manager" context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/> will add Employee (base.group_user) and Project Manager (project.group_project_manager) groups, as well as implied groups.

res_users:
- [add] added support of  key in context of default_get. It contains a list of xml_ids of user groups; those groups, if found, are added to the newly created user,
- [ref] refactored simplified (quick create) view that is now more like a contact card, with login and email required because of the login email that will be send to the user

bzr revid: tde@openerp.com-20130318120905-1w9xpoyppnj62wlj
2013-03-18 13:09:05 +01:00
Olivier Dony 8e3ba8e34e [FIX] service.db: missing imports
lp bug: https://launchpad.net/bugs/1155523 fixed

bzr revid: odo@openerp.com-20130318110257-x9591dl74vu8yf2f
2013-03-18 12:02:57 +01:00
Olivier Dony 125b2a804a [IMP] service.wsgi_server: useless import
bzr revid: odo@openerp.com-20130318110229-h4422zy2kcjys2ik
2013-03-18 12:02:29 +01:00
Thibault Delavallée 7602819aa3 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130315093732-2u1lc5x51276ethu
bzr revid: tde@openerp.com-20130318101836-rve5ane4rheiiq6k
2013-03-18 11:18:36 +01:00
Launchpad Translations on behalf of openerp 4ce8d2697d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130316055338-ogfw01ap8fh1hlaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317045918-zi1230lgxjbkqw3x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130318044640-ts2tr31y2gl25rev
2013-03-18 04:46:40 +00:00
Xavier Morel 9494f21ea8 [FIX] __getattr__ implementation on BaseModel
object has no __getattr__, in the usual case super(BaseModel,
self).__getattr__ will blow up with an AttributeError (but the wrong
one).

On the other hand, if a BaseModel descendant class is used in MI
alongside a non-BM descendant (e.g. res_partner inheriting from Model
and format_address) and the non-BM descendant also implements
__getattr__, we want to forward the failed attr search to the other
__getattr__ implementation.

So check if super() has a __getattr__, call it if it does otherwise
AttributeError right there.

bzr revid: xmo@openerp.com-20130315115302-z7jla334gb9a5e43
2013-03-15 12:53:02 +01:00
Olivier Dony 914a97f329 [FIX] account_analytic_analysis: remove duplicate method kept by mistake while porting 7.0 fixes to trunk in rev.8620
bzr revid: odo@openerp.com-20130315113120-xsmfoxw6a6kaylzm
2013-03-15 12:31:20 +01:00
Quentin (OpenERP) d0f5b28bd0 [MERGE] merge with main trunk branch to get last translations from launchpad
bzr revid: qdp-launchpad@openerp.com-20130315103116-lxj96usw3ipd11z5
2013-03-15 11:31:16 +01:00
Thibault Delavallée a8aebe31f3 [IMP] res_users: improved simplified form (using info_box).
bzr revid: tde@openerp.com-20130315093658-8ihhf3h4w6q3vypo
2013-03-15 10:36:58 +01:00
Olivier Dony 8e06ab16d0 [MERGE] Bugfixes from the 7.0 branch, up to rev. 3845
rev.3845 = launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z

bzr revid: odo@openerp.com-20130315090112-n4h5wpxk2sjhwvrd
2013-03-15 10:01:12 +01:00
Launchpad Translations on behalf of openerp dcc9a3aeab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317052921-m3gthz6l7fx1jwu7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317053035-kqb70nwvcg1iqldu
2013-03-17 05:30:35 +00:00
Quentin (OpenERP) 6643ad24a9 [FIX] account_payment: soft removal of buggy _amount_to_pay field, not needed as the field residual is making the trick most of the time
bzr revid: qdp-launchpad@openerp.com-20130315110052-u57rx4ntaazqw827
2013-03-15 12:00:52 +01:00
Quentin (OpenERP) 970531816e [FIX] account_analytic_analysis, usability: removal of a default filter not wanted
bzr revid: qdp-launchpad@openerp.com-20130315104619-lh31vdupmkxzvou7
2013-03-15 11:46:19 +01:00
Quentin (OpenERP) c7b92b785b [FIX] linkedin module compliancy with saas and https protocol
bzr revid: qdp-launchpad@openerp.com-20130315103847-lr9ofry7ceuqgcu5
2013-03-15 11:38:47 +01:00
Launchpad Translations on behalf of openerp 2a05506a95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064413-o75f8ljrruhoziqa
2013-03-15 06:44:13 +00:00
Launchpad Translations on behalf of openerp 72f29d98b8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315055412-luy9qg1pkdjnqlud
2013-03-15 05:54:12 +00:00
Launchpad Translations on behalf of openerp e23fba677e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315045639-qfbb8ay587g0rs6p
2013-03-15 04:56:39 +00:00
Antony Lesuisse 9eb729057f [FIX] crm_partner_assign form use v7 groups
bzr revid: al@openerp.com-20130315022239-jfypwp9e027wdat5
2013-03-15 03:22:39 +01:00
Antony Lesuisse a551be093e [FIX] crm_partner_assign next review date in list
bzr revid: al@openerp.com-20130315020352-jx3y451n301ykbqx
2013-03-15 03:03:52 +01:00
Antony Lesuisse f883706c17 [MERGE] auth_signup res.users improve display of invitation and reset password
bzr revid: al@openerp.com-20130314223326-b0j801ndgg1ru1lr
2013-03-14 23:33:26 +01:00
Antony Lesuisse 4f6e61a05e [MERGE] base.sass infobox and url text attribute
bzr revid: al@openerp.com-20130314222838-xjf3p76o1n1u2y93
2013-03-14 23:28:38 +01:00
Fabien Meghazi ac64a4fcb8 [IMP] Improved box_info box_warning css
bzr revid: fme@openerp.com-20130314222616-gz7f0zpnpz0skq88
2013-03-14 23:26:16 +01:00
Quentin (OpenERP) d4b1f78b57 [FIX] purchase; don't try to post messages on PO if there is no purchase related to an invoice
bzr revid: qdp-launchpad@openerp.com-20130314170226-3bvvsvd8aq2a9lkg
2013-03-14 18:02:26 +01:00
Quentin (OpenERP) 43afe718fd [MERGE] tools: regex to find the good partner name
bzr revid: qdp-launchpad@openerp.com-20130314170010-ggybuy16m96kulem
2013-03-14 18:00:10 +01:00
Quentin (OpenERP) 513601e641 [FIX] sale: don't try to post messages on SO if there is no sale related to an invoice
bzr revid: qdp-launchpad@openerp.com-20130314164413-qv3j3b3tcc4zt6b7
2013-03-14 17:44:13 +01:00
Fabien Meghazi 868075d7ca [FIX] Give correct context for invitatio
bzr revid: fme@openerp.com-20130314163913-wteq8qrimxqmro76
2013-03-14 17:39:13 +01:00
Quentin (OpenERP) 6262548099 [FIX] account_followup: typo
bzr revid: qdp-launchpad@openerp.com-20130314162608-1yw7etvz1scxo5h6
2013-03-14 17:26:08 +01:00
Josse Colpaert 3b1b386561 [FIX] Remove sales filter in Time and Materials to Invoice
bzr revid: jco@openerp.com-20130314161327-xtq04qqi9w7ohgb3
2013-03-14 17:13:27 +01:00
Fabien Meghazi 659c5f0059 [REM] Removed one state
bzr revid: fme@openerp.com-20130314160141-5hrurkcy4w3wc4ca
2013-03-14 17:01:41 +01:00
Fabien Meghazi dbfff7d213 [MERGE] 7.0
bzr revid: fme@openerp.com-20130314155944-hhfaoiu31i8716tn
2013-03-14 16:59:44 +01:00
Vo Minh Thu c79c23d26e [REF] orm:
- isinstance(ids, dict) is done at the end, but not at the beginning,
so if ids was a single dict, it would break in the map(lambda).
- The loop to convert None to False can be done in _read_flat instead
of read (there is already plenty of loops in _read_flat)
- The __getattr__ was breaking the stacktrace.

bzr revid: vmt@openerp.com-20130314154418-0wmxfw1ot92kjmzf
2013-03-14 16:44:18 +01:00
Fabien Meghazi 4b556f625e [IMP] res_users info box change wording
bzr revid: fme@openerp.com-20130314154003-r15yz1gvy324vz36
2013-03-14 16:40:03 +01:00
Quentin (OpenERP) 64502253b8 [FIX] base, res_currency: raise an error if a currency doesn't have any rate associated to the given period (if any)
bzr revid: qdp-launchpad@openerp.com-20130314153800-wl48wkp5f3zz0pb6
2013-03-14 16:38:00 +01:00
Cedric Snauwaert 7d0630b448 [FIX]hr_timesheet_sheet: fix user_id variable referenced before assignment when no employee_id
specified in onchange_employee_id

bzr revid: csn@openerp.com-20130314150614-bsnwc4gk7a9eyri0
2013-03-14 16:06:14 +01:00
Quentin (OpenERP) a4926b070b [FIX] hr_expense: removal of references to account_voucher module
bzr revid: qdp-launchpad@openerp.com-20130314150332-uifxmj2h2z4k2w28
2013-03-14 16:03:32 +01:00
Quentin (OpenERP) eed1a93749 [FIX] account: removal of warnings at database creation due to unknown fields in account.payment.term.line model
bzr revid: qdp-launchpad@openerp.com-20130314145337-vriuhu2sozdeyu5a
2013-03-14 15:53:37 +01:00
Quentin (OpenERP) 1177d34082 [FIX] crm, usability: the button on lead form view should be used to log calls as on opportunities
bzr revid: qdp-launchpad@openerp.com-20130314145309-cbahywaeccnrfjfb
2013-03-14 15:53:09 +01:00
Christophe Simonis 7c4279cbc9 [FIX] apps: hide breadcrum of the remote action
bzr revid: chs@openerp.com-20130314145017-k2502iwwovj379m0
2013-03-14 15:50:17 +01:00
Christophe Simonis ddd252b5d1 [FIX] EmbeddedClient.do_action() forward all arguments
bzr revid: chs@openerp.com-20130314144503-e5ewicf13er2clh8
2013-03-14 15:45:03 +01:00
Christophe Simonis 089bec0d9a [MERGE] [ADD] `hide_breadcrumb` option
bzr revid: chs@openerp.com-20130314144416-v3eb8czyr44qiub8
2013-03-14 15:44:16 +01:00
Chris Biersbach 9dd5e354fd [MERGE] sale: adds id to the sale_order_line _order so that lines sty in the same order when the sale order is created. Patch by Peter langenberg / Agaplan
bzr revid: cbi@openerp.com-20130314143705-9mpgrsemorg2l0b1
2013-03-14 15:37:05 +01:00
niv-openerp 3d53abcc8e [FIX] corrected small problem that made appear "false" in empty field text
bzr revid: nicolas.vanhoren@openerp.com-20130314135141-lnifcsa405qzjp0j
2013-03-14 14:51:41 +01:00
Vo Minh Thu 487fe3a1ab [MERGE] [FIX] ir.model: uninstall should not drop LOG_ACCESS_COLUMNS columns.
bzr revid: vmt@openerp.com-20130314131127-93qvwrpz0li3ba32
2013-03-14 14:11:27 +01:00
Quentin (OpenERP) 0c0528d834 [FIX] account_asset: import statement
bzr revid: qdp-launchpad@openerp.com-20130314124046-mwqslwiy81jwd9kk
2013-03-14 13:40:46 +01:00
dle@openerp.com eccd12b5c3 [FIX]portal_anonymous: set flag share to anonymous user
bzr revid: dle@openerp.com-20130314123013-14jdmnh5eczyn0zh
2013-03-14 13:30:13 +01:00
dle@openerp.com c886daecf5 [IMP]auth_signup: user state rewording
bzr revid: dle@openerp.com-20130314122319-hc2n78ugj2grstg8
2013-03-14 13:23:19 +01:00
Christophe Simonis 3417f2a250 [FIX] auth_openid: better design
bzr revid: chs@openerp.com-20130314120449-p2oef4oymc9nuwof
2013-03-14 13:04:49 +01:00
Fabien Meghazi ae24f3fb71 [FIX] Do not restraint info box width
bzr revid: fme@openerp.com-20130314115055-7vv9nw51hf284lz3
2013-03-14 12:50:55 +01:00