| Age | Commit message (Collapse) | Author |
|
share is now deprecated by the website /my portal.
|
|
- 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.
|
|
|
|
opw-626694
|
|
|
|
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
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
mail.message and mail.notification are transversal: they should not received directly the access rights
|
|
|
|
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.
|
|
|
|
Let 2015 be a year without modelines!
cf #4174
|
|
|
|
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
|
|
|
|
|
|
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.
|
|
|
|
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
|
|
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
|
|
|
|
group or not
bzr revid: dle@openerp.com-20140324143558-jqdm33c0i7wna3va
|
|
odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g
bzr revid: odo@openerp.com-20140314143911-c2mxesg31xezeyr9
|
|
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
|
|
bzr revid: chs@openerp.com-20140314115936-8y6eg51tzmsdlb85
|
|
encoding while urllib doesnt
bzr revid: dle@openerp.com-20140130112408-8pdju26jnkyxvlw2
|
|
bzr revid: al@openerp.com-20131006131225-jguvkys2ngwsd6er
|
|
dle@openerp.com-20131003094541-ro29hhkas03rdvw8
bzr revid: odo@openerp.com-20131003111222-upt1ytb92db50zay
|
|
dle@openerp.com-20130930141202-ghnujem348kydd2m
bzr revid: dle@openerp.com-20130930150804-b4j080uy06t4n7f1
|
|
bzr revid: dle@openerp.com-20130925140058-hahb3gtrs97a71lw
|
|
mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
|
|
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
|
|
bzr revid: chm@openerp.com-20130607102359-is19utzap127nwr4
|
|
bzr revid: mat@openerp.com-20130605090453-e4mg37kms5j1r18n
|
|
rev-id launchpad_translations_on_behalf_of_openerp-20130531070107-7d2k818beg8965ll
bzr revid: odo@openerp.com-20130603121852-jdl6vlo9dmjk0rlc
|
|
the field: _fields_id
bzr revid: csn@openerp.com-20130521075553-lgbp3neaqeq8dzfo
|
|
bzr revid: ggh@tinyerp.com-20130429092924-2qgaxvkfb801q4dl
|
|
bzr revid: chm@openerp.com-20130415133727-btc4a6qolfnxs3du
|
|
bzr revid: chm@openerp.com-20130415103431-y96fhba0502b6aqc
|
|
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
|
|
bzr revid: chm@openerp.com-20130410130244-3ef6mpw6s09xjn75
|
|
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
|
|
does no longer exist. expression.normalize_domain is now correctly used instead.
bzr revid: cbi@openerp.com-20130307130442-penzwh2unq0vvfih
|
|
bzr revid: csn@openerp.com-20130304105344-f2nnx7udejvelfw9
|
|
bzr revid: al@openerp.com-20121227164559-wcgin8stkyhsk3h0
|
|
parameter but defined
bzr revid: vta@openerp.com-20121227134752-h1gfckkyyszs6vg3
|