Commit Graph
97281 Commits
Author SHA1 Message Date
Martin Trigaux 59452e4e1a [IMP] base_action_rule: missing _description 2015-08-21 15:59:22 +02:00
Raphael Collet 5022891091 [IMP] api: make Environment implement the a mapping API {model_name: model} 2015-08-21 15:40:41 +02:00
Raphael Collet 75140d7ea1 [IMP] fields: translated html fields must use xml_translate or a callable 2015-08-21 15:39:53 +02:00
Raphael Collet def2527395 [IMP] res_users: force update on groups inside user form view 2015-08-21 14:35:54 +02:00
Raphael Collet f84c375cfc [FIX] res_users: do not update a view arch with user language in context 2015-08-21 14:35:54 +02:00
qsm-odoo 99faa6addd [FIX] web: M2ODialog, adaptation to new Dialog API
(backport from the enterprise version)
The M2ODialog still used the old Dialog API.
2015-08-21 14:31:11 +02:00
qsm-odoo 2a3f359ae8 [REF] * : Remove oe_left of oe_title & oe_avatar
LESS rules (enterprise compatibility) :
* .oe_avatar is float:left by default
* .oe_title is placed between oe_avatar/oe_button_box if any
without the need to make it float
2015-08-21 14:31:11 +02:00
Cedric Snauwaert cb1ce61c84 [ADD] account: add a popover with payment details and action on invoice 2015-08-21 14:06:15 +02:00
Xavier Morel 2ea5c3aeef [IMP] restrict modules to system_group
* listing of modules in website already bypassed session user
* altered authenticated endpoint so it does the same
* sudoed a few read accesses & name_get in groups
* other accesses are list/form views, menu only accessible to
  system_user
* new-API-ified some calls & unified listing of installed modules
2015-08-21 12:59:06 +02:00
Géry Debongnie 3c4f88b30a [IMP] web: increase tooltip delay timer
from 500 to 1000, as requested by fp
2015-08-21 12:17:15 +02:00
Thibault Delavallée 88b8cd0587 [REF] mail: model update for NewChatter
Main changes :
- mail.notification model is removed. People do not receive notifications
anymore. Instead two ways of following documents exist
  - using a channel; messages will be displayed on the channel itself
  in a near future commit
  - following with its partner; messages will all be considered as
  needaction, using a new m2m table. People should receive less
  needaction messages by following less records by themselves.
There is no more read / unread state anymore. Instead only needaction
messages are considered. Todo (Favorites) messages still exist, and are
stores on a new m2m table instead of using decorated notifciations.
- the main filter for documents is not message_unread anymore, but
message_needaction. A lot of views and filters have been updated
accordingly.
- the vote feature has been removed
2015-08-21 12:11:56 +02:00
Thibault Delavallée c02982b4c4 [REF] mail: mail_channel update
Some features from live_chat have been moved to the mail module :
- channels now have members, replacing followers;
- a decorated m2m is used to link channels and members. It stores the last
seen message on the channel for a specific partner;
- channels do not create menu entries anymore, because the
NewChatter will have its own display and use of channels;
- access rights have been updated accordingly, using members instead of
followers
2015-08-21 12:11:56 +02:00
Thibault Delavallée e6f038a821 [REF] mail: mail_thread: followers update
Followers can now be partners or channels. Partners following a document
will receive needaction, as previously. However people can follow documents
through channels. Members of a channel are able to listen to a stream
of messages using the channel. Those messages do not create needaction
messages. It is therefore possible to follow documents without receiving
too much notifications. For interesting documents subscribing with its
partner will create notification.

message_follower_ids fields is udpated. It is now a many2many to
mail.followers, not to res.partner anymore. A subscription can be either
a partner (partner_id) or a channel (channel_id).

Some access rules have been updated accordingly.
2015-08-21 12:11:56 +02:00
Thibault Delavallée 098fcb7e4e [MOV] mail: move code for email notification
Move the notification management from mail.notification to res.partner model.
Those methods belong more to the partner model, as they work on partners.
Moreover with the upcoming new model for NewChatter notification will be
heavily refactored.
2015-08-21 12:11:55 +02:00
Yannick Tivisse 1617db3337 [IMP] Modules list reorganization to correspond with the app switcher. 2015-08-21 10:44:51 +02:00
Yannick Tivisse b3b2b2110a [IMP] Remove dependencies to 'board' module in every modules 2015-08-21 10:42:18 +02:00
Yannick Tivisse 1791d3121b [IMP] Rename 'Local Modules' into 'Modules', and root menuitem 'Modules' into 'Apps' 2015-08-21 10:41:03 +02:00
Yannick Tivisse 18c4f224b6 [IMP] Add a project in data with tasks to discover Odoo Project
Move tag_ids in the task form
2015-08-21 10:41:02 +02:00
Yannick Tivisse cddc6af130 [IMP] crm,hr_equipment,hr_recruitment,project,sale_crm,base,l10n_gr: Small UX improvements
crm:
- Move crm.lead.tag data to demo
- Rename Folded in Kanban view to Folded in Pipeline
hr_equipment:
- Rename Folded in Kanban View to Folded in Recruitment Pipe
hr_recruitment:
- Rename Folded in Kanban View to Folded in Recruitment Pipe
l10n_gr:
- Jump back to accounting dashboard after install
Project:
- Rename Folded in Kanban View to Folded in Tasks Pipeline
Sale_crm:
- Create a quote from an opportunity sets the right sales team automatically
Base:
- Move the tags
2015-08-21 10:41:02 +02:00
Yannick Tivisse 45911338c1 [IMP] website_version : not an app 2015-08-21 10:41:02 +02:00
Yannick Tivisse 585bac0aca [IMP] l10n_* : jump to accounting dashboard after chart of account installation 2015-08-21 10:41:02 +02:00
Yannick Tivisse bfdb20b45d [IMP] base : Add a button to trigger the related method of a cron 2015-08-21 10:25:29 +02:00
Yannick Tivisse 72796355a5 [IMP] mrp: Added access rights. A mrp manager can create a work center. 2015-08-21 10:04:57 +02:00
Yannick Tivisse 6e93fe0de1 [IMP] mrp_repair : becomes an app, remove dependancy to mrp,
add dependancy to stock.
2015-08-21 09:23:20 +02:00
Yannick Tivisse c28bc7e9bb [IMP] hr_equipment: add a button cancel on the form to archive the maintenance request
Add also a button Reset Request to set it active true + on the first stage
2015-08-20 16:29:26 +02:00
Yannick Tivisse 93261e07de [IMP] hr_recruitment: Add a button to refuse an applicant and archive him
Add a button to reset the application in the first stage
2015-08-20 16:22:28 +02:00
Yannick Tivisse 0decfd94d1 [IMP] __openerp.py__ files : remove all occurence of authors and website
where it was 'Odoo SA', 'OpenERP SA', 'OpenERP s.a.', 'OpenERP SA', 'OpenERP'
      or 'http(s)://openerp.com' or 'http(s)://www.odoo.com'
2015-08-20 16:15:59 +02:00
Yannick Tivisse e4be39cdde [IMP] openerp: Add authors 'Odoo SA' and website 'http://www.odoo.com'
in 'load_information_from_description_file' method
2015-08-20 16:03:42 +02:00
Yannick Tivisse c4528d6fd9 [IMP] sale,crm: few usability improvements
- Add a 'Quotations' button on the sales team kanban dashboard
- Add default stages for crm.lead objects
- Add a pivot view for the opportunities
- Modify a menutip
- Add a few tips
2015-08-20 16:01:05 +02:00
qsm-odoo 916187e0fb [FIX] web_kanban + others: kanban record two columns layout
* Remove use of flex for kanban record layout (text overflow ellipsis
could not work in row wrap flex layout as flex would prefer to wrap its
elements than add an ellipsis inside its content)
* Fix xml templates (double use of o_kanban_image + non-existing class)
2015-08-20 15:26:03 +02:00
qsm-odoo b5621fb21b [FIX] web_kanban, hr, fleet: missing btn-sm
* Kanban quickcreate widgets
* Buttons in kanban records
2015-08-20 15:26:03 +02:00
ssh-odoo c52b0e3b2c [fix] l10n_et is back, compliant with the new accounting 2015-08-20 14:53:42 +02:00
Xavier Morel d4b25b2780 [FIX] remove group_user read access to ir.cron
Should not be necessary for the correct working of odoo (normal cron
lookup & processing is performed using raw SQL anyway).

* fixed a few ref calls just in case
* also cleaned up a few unused imports
2015-08-20 12:55:00 +02:00
Martin Trigaux 2bd57e0c45 [FIX] account: buggy attrs
Setting an editable field as invisible when it's empty is not a very good idea
as it will disapear if you try to modify it's value.
Fully remove the attrs until something making more sense comes up.
2015-08-20 11:38:22 +02:00
Xavier Morel 1464f79b90 [FIX] ir_fields_converter: make abstract
This is only a model in case third parties need to override stuff, it
has no field and no reason to be a "concrete" model.

Also
* remove corresponding access rule giving CRUD to every user
* remove unnecessary import
* replace set() call by set literal
* replace dict(generator_expr) by dict comprehensions
2015-08-20 11:24:00 +02:00
Xavier Morel d2e23d0bfe [REM] ir_default model
Legacy model, doesn't seem to be used anywhere or have any point at all
yet was accessible CRUD to all...
2015-08-20 11:19:18 +02:00
Thibault Delavallée 4592be3bfa [RENAME] event: type -> event_type_id
At last I will be able to remember that the type of an event is not
a string, but a m2o to event.type model.
2015-08-20 11:09:43 +02:00
Aaron Bohy 362dcdd99a [FIX] web: search_menu: add missing 'use strict' statement 2015-08-20 10:26:31 +02:00
sus-odoo 54f52ab503 [FIX] l10n_pe is back, compliant with the new accounting 2015-08-20 10:02:36 +02:00
Xavier Morel e80f1152c7 [ADD] convenience res_users._is_admin
Checks that the provided user (or user in the provided dataset):

* is the superadmin
* or is a member of group_erp_manager

There are a number of hand-rolled "is_admin" checks in the codebase some
of which are fairly gnarly. The shortcut provides a single point of
contact, avoids forgetting about cases (e.g. SUPERUSER_ID) and is
relatively convenient when checking a user which is not the "current"
user.

closes #8146
2015-08-20 09:42:06 +02:00
cod-odoo 992220eb4c [FIX] l10n_hu is back, compliant with the new accounting 2015-08-19 17:37:26 +02:00
Christophe Matthieu 6538c67c2b [FIX] web: many2one try to read a creating record but the cache doesn't yet contain the record 2015-08-19 17:05:30 +02:00
Raphael Collet 6627409268 [IMP] fields: in onchange on x2many field, never update the field id 2015-08-19 16:54:50 +02:00
rsi-odoo 4ecca74b73 [FIX] l10n_bo is back, compliant with the new accounting 2015-08-19 16:28:36 +02:00
Simon Lejeune 14b10d6123 [FIX] web: control panel: don't compensate late of gutter
rev 14bef4d15c re-added it
2015-08-19 16:16:14 +02:00
Simon Lejeune d4eafabfad [FIX] web_kanban: don't compensate lack of gutter
rev 14bef4d15c re-added it
2015-08-19 16:15:53 +02:00
Raphael Collet 1b8c2a2078 [IMP] fields, web: change output format of onchange for x2many fields
Those fields are serialized as lists of commands.
2015-08-19 16:10:43 +02:00
qdp-odoo 6cb6f43c2b [REF] base: simplified res.partner.bank and res.bank objects for a greater usability + [IMP] account: bank journals are now the bank accounts of a company 2015-08-19 15:44:59 +02:00
Géry Debongnie 256e5bd23a [FIX] web_kanban: correctly sets id in some cases
for some fields, the value is an array with the value and a description. In that
case, we need to only take the value in account to set the id of the group.
2015-08-19 15:33:25 +02:00
cod-odoo aefb17b124 [FIX] l10n_lu is back, compliant with the new accounting 2015-08-19 14:21:24 +02:00