Commit Graph
96173 Commits
Author SHA1 Message Date
Thibault Delavallée d52bf613d6 [CLEAN] mail: tests: reduce a bit the boilerplate of tests to lessen
the testing time.
2015-07-09 11:13:03 +02:00
Thibault Delavallée 4a818d84a5 [REF] mail: mail.thread fields cleaning :
- removed message_summary, a field that computes html containing the number
of unread messages. This field was used only in kanban views. Probably that
in earlier versions of the kanban view this field had a use; however now
we can directly use a counter and use it in the kanban templates.
- message_unread_counter is added, a counter of unread messages computed
in the same time as message_unread. It is now used in kanban views.

Views of several addons have been updated.
2015-07-09 11:13:02 +02:00
Thibault Delavallée 2470cde0e7 [CLEAN][DEMO] mail: cleaned mail.channel demo data. Less demo groups
and a bit more messages.
2015-07-09 11:13:02 +02:00
Thibault Delavallée d931aa3825 [RENAME] mail, portal: updated actions and views xml ids
for channel-related stuff. mail.channel views as well as timeline views
and actions have been renamed. Now the names follow the guidelines and
will be used in the upcoming refactoring of mail and chat.
2015-07-09 11:13:02 +02:00
Thibault Delavallée 2c36354ca9 [RENAME] mail, website_mail, website_mail_group, various: mail.group
model has been renamed to mail.channel to prepare the slack modeling.

In future commits the mail.group model will be merged with the channel
model from im_chat. The first move is to rename mail.group into
mail.channel to have a model that will unite both features.
2015-07-09 11:12:50 +02:00
Thibault Delavallée a316295e36 [RENAME][MOV] mail, website_mail, website_mail_group: mail.group files
renamed to mail.channel.

At this point no model has been renamed; only files have been moved.
n mail, mail_group files have been renamed to mail_channel. The
website_mail_group addon has been renamed to website_mail_channel.
Some internal references have been updated (templates, linked files).
2015-07-09 10:13:41 +02:00
Thibault Delavallée 1c38e61c35 [REM] mail, hr: removed suggested groups / suggested employees feature.
Removed fields and code related to the display of groups and employee
suggestions. This impacts notably the model of res.users in mail and
hr.
2015-07-09 10:09:10 +02:00
qdp-odoo 8269d3bd3b [FIX] l10n_do: removed custom data for journal (and sequences) creation, because that doesn't scale with multiple installation and provided data was not giving any values for default debit/credit accounts (which is not compliant with the expected behavior for sale/purchase journals) 2015-07-09 09:31:07 +02:00
qdp-odoo cd74ea2a50 [FIX] l10n_jp is back, compliant with the new accounting 2015-07-08 17:22:37 +02:00
Jay Patel ff2b14d4c3 [IMP][ADD] crm: add the concept of activities, allowing
to define custom light workflows on opportunities.

Activities are linked to mail.message.subtype through inheritance.
This means that the follow mechanism works for activities. When
an activity is done, a message with the matching subtype is posted
on the opportunity.

Activities are internal by default. They are only visible by
employees.

A shortcut in the 'log a note' chatter option allows to post a
note linked to an activity (subtype).
2015-07-08 17:15:22 +02:00
Pankaj Joshi 03592e1c73 [FIX] account, mail, web : replaced broken glyphicons with font-awesome icons and updated css/scss file accordingly 2015-07-08 17:11:18 +02:00
qdp-odoo c707100565 [FIX] l10n_ro is back, compliant with the new accounting 2015-07-08 17:09:01 +02:00
qdp-odoo eb4fe81eba [FIX] l10n_uy is back, compliant with the new accounting 2015-07-08 17:09:01 +02:00
qdp-odoo c1eb442d9f [FIX] l10n_do back, compliant with the new accounting 2015-07-08 17:09:01 +02:00
Yannick Tivisse 01029367cf [FIX] sales_team : The field active is displayed twice on the sales team form view 2015-07-08 17:07:18 +02:00
Christophe Matthieu 548fb30735 [IMP] website: add a FAQ collapse snippet, the javascript is only used for edition (set id and target to use bootstrap default collapse code). 2015-07-08 16:55:09 +02:00
Christophe Matthieu 03174f1149 [IMP] website: split margin-x snippet option and create an preventParentEmpty object. This object can be used by other snippet when the parent can't be empty. 2015-07-08 16:55:09 +02:00
Christophe Matthieu 01b1d640f8 [IMP] website: reduce the slider snippet option code 2015-07-08 16:55:09 +02:00
Christophe Matthieu 8420e0bfdd [IMP] website: add on_move method on snippet options called when the user move (drag and drop) a snippet 2015-07-08 16:55:09 +02:00
Yannick Tivisse 9796a74e39 [IMP] Replace meaningless fontawesome icons by better ones
Replaced :
- fa-xing by fa-bookmark-o
- fa-github by fa-users
- fa-strikethrough by fa-usd
Impacted modules : account_analytic_default, event, product, sale
2015-07-08 15:56:36 +02:00
Yannick Tivisse 9d33c852b0 [IMP] event : make event_type name field translatable 2015-07-08 15:50:23 +02:00
Yannick Tivisse bcd43ca125 [IMP] point_of_sale : typos correction + settings reorganization 2015-07-08 15:44:27 +02:00
Yannick Tivisse 07eb329acb [IMP] crm_helpdesk : remove escalation feature 2015-07-08 15:39:02 +02:00
Yannick Tivisse cf7ed33ea0 [IMP] Project : remove issue escalation feature
Conflicts:
	addons/project_issue/project_issue_view.xml
2015-07-08 15:39:02 +02:00
Yannick Tivisse e485b6c5ee [IMP] Project : remove task delegation
Conflicts:
	addons/project/wizard/project_task_delegate.py
2015-07-08 15:39:02 +02:00
Yannick Tivisse 55ae657239 [IMP] sales_team : Remove the lead escalation feature
Conflicts:
	addons/crm/sales_team_view.xml
	addons/sales_team/sales_team.py
	addons/sales_team/sales_team.xml
2015-07-08 15:39:02 +02:00
Christophe Simonis 6c64869de1 [FIX] website{,_quote,_sale}: do not use undefined variable openerp 2015-07-08 15:21:07 +02:00
Martin Trigaux ea3621edb1 [FIX] purchase: some English errors
Courtesy of Lionel Sausin.
2015-07-08 13:56:12 +02:00
Martin Trigaux 8dab9dc7f5 [FIX] crm: useless tag in email template
Courtesy of Mustafa Raw
2015-07-08 13:31:37 +02:00
Denis Ledoux 15c1451a3e [REF] google_calendar: remove useless code/comments
Closes #2207

Courtesy of Tomasz Wysocki (@tomwys)
2015-07-08 12:28:53 +02:00
Martin Trigaux 5abec674cd [FIX] purchase: label of field
No reason to put a ? in the label of a field
2015-07-08 12:17:49 +02:00
Martin Trigaux df07ec1fc1 [FIX] stock: French in error message
I like Frenchmen very much, because even when they insult you, they do it so nicely.
  -- Josephine Baker
2015-07-08 11:21:42 +02:00
Erwin van der Ploeg 9ce56a4cc1 [IMP] stock_landed_cost: better message why landed cost can't be validated 2015-07-08 11:15:45 +02:00
Valerie Pirenne d1e4e0d58d [IMP] web_planner: hide progressbar when full 2015-07-08 10:58:38 +02:00
Martin Trigaux ebe0ff6781 [FIX] stock_account: typo 2015-07-08 08:30:00 +02:00
Aaron Bohy 20ed190429 [REF] web: ControlPanel
Adds the option clear so that, if set to false, only some elements of the
control panel can be updated while keeping the other ones unchanged.
The breadcrumbs can then be updated by simply calling update_control_panel(),
instead of triggering a specific event to do it.

A bit of documentation and refactoring as well, mainly for the
breadcrumbs to be handled as other control panel's elements.
2015-07-07 16:43:01 +02:00
Aaron Bohy 81ffa75944 [FIX] web: many2manytags: hidden if empty and readonly
In edit mode, if this field is readonly and empty, its main div has
height 0 but its border is displayed. This rev. simply hides the field
in this case.
2015-07-07 16:43:01 +02:00
qdp-odoo 08faf63a6d [FIX] l10n_at is back, compliant with the new accounting 2015-07-07 16:15:56 +02:00
Ajay Javiya d8fb8fa6a9 [ADD] website : generic template for search and add functionality to clear search box 2015-07-07 14:10:14 +02:00
Pankaj Joshi 592bf228f3 [IMP] website_forum: display username/karma (link to current user profile) to right hand side seprate from other tabs for better visibility 2015-07-07 11:04:05 +02:00
Pankaj Joshi bd0e0fc411 [fix] website_forum: always display username/karma of loggedin user in navbar 2015-07-07 11:04:05 +02:00
qsm-odoo fe1541abeb [FIX] web: many2manytags - empty value when selected
The input value was not removed once the user added a tag
2015-07-07 10:44:15 +02:00
Raphael Collet b2176210d9 Merge pull request #7202 from odoo-dev/master-i18n-rco
Make XML/HTML fields translatable like views

Add support for translating fields not as a whole, but as a value containing terms to translate:
 - for such fields, the table `ir_translation` contains a set of (term, translation) for each record;
 - use this support for the `arch` field of views, and convert translations of type 'view' into those;
 - add "fuzzy" remapping of translations when English value of such a field is updated.

Convert translation types 'field', 'help' into corresponding translated fields of `ir.model.fields`.
2015-07-06 17:01:33 +02:00
Raphael Collet 9bd60ca935 [IMP] translate: translation optionally wrap translated terms inside a <span>
Note: We do not translate `<a>` elements inline.  Translating `<a>` elements is
triggering issues in the website editor tool: menu items are screwed up.  The
menu items are handled by bootstrap, which expects menu items to be `<a>`
elements inside `<li>` inside `<ul>` elements.  The introduction of a `<span>`
in the middle of this hierarchy breaks its functionality.  Therefore we decided
to not translate `<a>` elements inline.

When invoking `read()` with `'website_editor`' in the context, missing
translations are automatically created, so that translated terms are always
wrapped as `<span data-oe-translation-id="...">...</span>`.
2015-07-06 16:58:04 +02:00
Raphael Collet 1ea32f1daf [IMP] translate: make xml_translate use an HTML parser when XML parsing fails 2015-07-06 16:58:04 +02:00
Raphael Collet ad659c39b0 [IMP] ir_translation: sanitize the values of translated fields 2015-07-06 16:58:04 +02:00
Raphael Collet cd925255b7 [FIX] addons: view extensions are no longer based on attribute string
In view inheritance, selecting an element based on the attribute `string` is
broken, since this attribute may be translated before the inheritance is
applied.  This fixes existing views to avoid such selections.
2015-07-06 16:58:04 +02:00
Raphael Collet f2be471558 [IMP] ir_ui_view: adapt translation of views by using callable field.translate
Also add constraint to prevent using translated attributes in view inheritance.
You may no longer select elements based on attributes 'string', 'help', etc:

    <page string="Stuff" position="inside">...</page>

    <xpath expr="//page[@string='Stuff']" position="inside">...</xpath>
2015-07-06 16:58:04 +02:00
Raphael Collet 4e572e351e [IMP] translate: add cases where the content of XML elements is not translated
- do not translate the content of elements with translate="off"
- translate `<attribute name="X">` only for some values of X
2015-07-06 16:58:04 +02:00
Raphael Collet 33c8aab971 [IMP] translate: do not translate XML elements without actual text 2015-07-06 16:58:04 +02:00