summaryrefslogtreecommitdiff
path: root/addons/share/wizard/share_wizard.py
AgeCommit message (Collapse)Author
2015-07-09[REM] shareAntony Lesuisse
share is now deprecated by the website /my portal.
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
2015-05-21[MERGE] forward port of branch 8.0 up to 26e7742Christophe Simonis
2015-05-21[FIX] account, mail, etc.: uniformize evaluated expressionsOlivier Dony
opw-626694
2015-05-18[MERGE] forward port of branch 8.0 up to f722254Christophe Simonis
2015-05-12[FIX] share: do not add new rules for `res.company`Denis Ledoux
When trying to share a partner through the share feature, a new record rule was added on `res.company`, allowing the access to this model only if the `partner_id` of the `res.company` was equal to the user `partner_id`. Except that the share users must have access to the company he is currently in. opw-634402
2015-02-11[MERGE] forward port of branch 8.0 up to 33a8989Christophe Simonis
2015-02-06[MERGE] forward port of branch saas-3 up to f92b2f8Denis Ledoux
2015-02-06[MERGE] forward port of branch 7.0 up to 0b7db55Denis Ledoux
2015-02-06[FIX] share: share feature compatibility with Odoo 8.0Denis Ledoux
Since rev. 1ce0b70a02294eb58dbe7c0ff1d7048489585e7a, ir.ui.menu was readable for employees and portal users only Since rev. 74aa7406bf1cd1794f9832ed36141482f7ff9353, the navigation menus were displayed for employees and portal users only. Therefore, when sharing a record with the share feature, nothing was displayed when following the link. This rev. introduces a new group "Shared group", implied for all shared groups created through the share feature. Read access to menus is given to this group The possibility to display the webclient navigation menus as well.
2015-02-06[FIX] share: action params in url is action, not action_idDenis Ledoux
When sharing a record to a share user (for instance, the quotation), the action in the url was set to "action_id=" instead of "action=", therefore, the link sent just leaded to nowhere.
2015-02-06[FIX] share: mail.notification is also transversalDenis Ledoux
mail.message and mail.notification are transversal: they should not received directly the access rights
2015-01-19[MERGE] forward port of branch 8.0 up to 0aab81cChristophe Simonis
2015-01-16[IMP] Cleanup and refactoring of exception handlingGoffin Simon
Unify and refactor exception handling in framework and addons. The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes: - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration. - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights. - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request. - `MissingError`: raised when an operation is attempted on a record that does not exist. - `ValidationError`: raised when an operation violates a SQL or Python constraint. - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback. All exceptions take a single message argument. The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions. A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages. This commit introduces a more consistent policy for logging errors and warnings: - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations. - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention. - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2015-01-12[Fix] Some missed frontend openerp to odoo changesErwin van der Ploeg
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-11-05[MERGE] forward port of branch 8.0 up to 491372eChristophe Simonis
2014-11-04[IMP] use model._fields instead of model._all_columns to cover all fieldsRaphael Collet
The old-api model._all_columns contains information about model._columns and inherited columns. This dictionary is missing new-api computed non-stored fields, and the new field objects provide a more readable api... This commit contains the following changes: - adapt several methods of BaseModel to use fields instead of columns and _all_columns - copy all semantic-free attributes of related fields from their source - add attribute 'group_operator' on integer and float fields - base, base_action_rule, crm, edi, hr, mail, mass_mailing, pad, payment_acquirer, share, website, website_crm, website_mail: simply use _fields instead of _all_columns - base, decimal_precision, website: adapt qweb rendering methods to use fields instead of columns
2014-10-01[MERGE] forward port of branch 8.0 up to e883193Christophe Simonis
2014-09-16[FIX] share/wizard: fix new-api method call incorrectly passing contextRaphael Collet
2014-09-12[IMP] share: better way to restrict the feature to the technical group.Bhavik Bagdiya
Reverted commit 57a12121057df9fee039a54f5b947c0e8a917fe9 that introduced an unnecessary call to has_group, as it could be done un share_wizard.py once for the session. Removed the group_share_user, not necessary anymore.
2014-08-20[FIX] share: fixed crash when using the share wizard, linked to the new api.Thibault Delavallée
2014-07-18[REF] OpenERP --> Odoo in various UI textsrlu-odoo
Rebranding has been done in: - data/demo files - html templates - help notices - comments - logger messages - and other various messages (Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08) Closes #1260
2014-07-06[MERGE] new v8 api by rcoRaphael Collet
A squashed merge is required as the conversion of the apiculture branch from bzr to git was not correctly done. The git history contains irrelevant blobs and commits. This branch brings a lot of changes and fixes, too many to list exhaustively. - New orm api, objects are now used instead of ids - Environements to encapsulates cr uid context while maintaining backward compatibility - Field compute attribute is a new object oriented way to define function fields - Shared browse record cache - New onchange protocol - Optional copy flag on fields - Documentation update - Dead code cleanup - Lots of fixes
2014-06-25[REM] Unnecessary `size` parameters on char fieldsJaydeep Barot
2014-03-24[REF] *: share field is now a computed field, if the user is in the employee ↵Denis Ledoux
group or not bzr revid: dle@openerp.com-20140324143558-jqdm33c0i7wna3va
2014-03-14[MERGE] Forward port of saas-2 fixes up to rev 9152 rev-id ↵Olivier Dony
odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g bzr revid: odo@openerp.com-20140314143911-c2mxesg31xezeyr9
2014-03-25[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9929 ↵Denis Ledoux
revid:dle@openerp.com-20140325104921-x8zjx5p71l1o3uif bzr revid: dle@openerp.com-20140310133913-465x5t3n1bo7fu98 bzr revid: dle@openerp.com-20140311164146-2s599kogbqj8e94l bzr revid: dle@openerp.com-20140312111149-u6y036aej3ywq7et bzr revid: dle@openerp.com-20140312121145-06s1jvct9v4m7l6s bzr revid: mat@openerp.com-20140313084409-c0kckxemy3in0mlo bzr revid: chs@openerp.com-20140313163420-ifa4hyixj722d6jo bzr revid: chs@openerp.com-20140314102034-g0nzryvwhrpzdas9 bzr revid: chs@openerp.com-20140314104803-19c5snl2fcuih91o bzr revid: odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g bzr revid: chs@openerp.com-20140318110229-y8098w3shdpmoig2 bzr revid: dle@openerp.com-20140318151824-sscl4m8p87emjl8s bzr revid: dle@openerp.com-20140320112618-yfyihlwz66ryeqf5 bzr revid: dle@openerp.com-20140320161003-j01cc6sqves2wnp2 bzr revid: dle@openerp.com-20140320181252-4gqcog22p1ex0pz7 bzr revid: dle@openerp.com-20140321140450-8ulnhr76qybiadks bzr revid: dle@openerp.com-20140324104743-ubvu8st7emq9pg1q bzr revid: dle@openerp.com-20140325112413-xs5z7y81rhyjt0rd
2014-03-14[FIX] share wizard: delete wizard lines in cascadeChristophe Simonis
bzr revid: chs@openerp.com-20140314115936-8y6eg51tzmsdlb85
2014-01-30[FIX] *: replace urllib calls by werkzeug calls, as werkzeug handles utf-8 ↵Denis Ledoux
encoding while urllib doesnt bzr revid: dle@openerp.com-20140130112408-8pdju26jnkyxvlw2
2013-10-06[REM] shortcuts, deprecated by browser bookmarksAntony Lesuisse
bzr revid: al@openerp.com-20131006131225-jguvkys2ngwsd6er
2013-10-03[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8788 ↵Olivier Dony
dle@openerp.com-20131003094541-ro29hhkas03rdvw8 bzr revid: odo@openerp.com-20131003111222-upt1ytb92db50zay
2013-09-30[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9487 rev-id: ↵Denis Ledoux
dle@openerp.com-20130930141202-ghnujem348kydd2m bzr revid: dle@openerp.com-20130930150804-b4j080uy06t4n7f1
2013-09-25[FIX]share: embed url action= instead of action_id=Denis Ledoux
bzr revid: dle@openerp.com-20130925140058-hahb3gtrs97a71lw
2013-06-13[MERGE] forward port of branch 7.0 up to revid 9236 ↵Christophe Simonis
mat@openerp.com-20130613160953-itt79mu5xrl7suv4 bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-07[IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)Christophe Matthieu
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07[IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)Christophe Matthieu
bzr revid: chm@openerp.com-20130607102359-is19utzap127nwr4
2013-06-05[MERGE] Forward porting of saas-1 until rev 8739Martin Trigaux
bzr revid: mat@openerp.com-20130605090453-e4mg37kms5j1r18n
2013-06-03[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9183Olivier Dony
rev-id launchpad_translations_on_behalf_of_openerp-20130531070107-7d2k818beg8965ll bzr revid: odo@openerp.com-20130603121852-jdl6vlo9dmjk0rlc
2013-05-21[FIX]share_wizard: fix problem due to related o2m fields that doesn't have ↵Cedric Snauwaert
the field: _fields_id bzr revid: csn@openerp.com-20130521075553-lgbp3neaqeq8dzfo
2013-04-29[IMP] Improve warning titleggh-openerp
bzr revid: ggh@tinyerp.com-20130429092924-2qgaxvkfb801q4dl
2013-04-15[MERGE] from trunkChristophe Matthieu
bzr revid: chm@openerp.com-20130415133727-btc4a6qolfnxs3du
2013-04-15[MERGE] from trunkChristophe Matthieu
bzr revid: chm@openerp.com-20130415103431-y96fhba0502b6aqc
2013-04-15[REF] removed explicit model instanciations.Vo Minh Thu
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-10[IMP] auth_signup: change reset_password to no_reset_password context valueChristophe Matthieu
bzr revid: chm@openerp.com-20130410130244-3ef6mpw6s09xjn75
2013-03-29[IMP] general: use registry[X] instead registry.get(X) when X is dynamicRaphael Collet
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
2013-03-07[FIX] Share: The share wizard code still used expression.normalize, which ↵Chris Biersbach
does no longer exist. expression.normalize_domain is now correctly used instead. bzr revid: cbi@openerp.com-20130307130442-penzwh2unq0vvfih
2013-03-04[FIX]share wizard: missing an argument in a function callCedric Snauwaert
bzr revid: csn@openerp.com-20130304105344-f2nnx7udejvelfw9
2012-12-27[FIX] revert 8501 has shareAntony Lesuisse
bzr revid: al@openerp.com-20121227164559-wcgin8stkyhsk3h0
2012-12-27[FIX] Share module traceback in method has_share, caused by a never used ↵vta vta@openerp.com
parameter but defined bzr revid: vta@openerp.com-20121227134752-h1gfckkyyszs6vg3