Commit Graph
96165 Commits
Author SHA1 Message Date
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
Raphael Collet 2eb257ff94 [IMP] translate: in XML translations, include phrasing elements in translations
HTML phrasing elements (like `<a>`, `<b>`, etc.) should be included in
translations.  This avoids splitting phrases when translating HTML content.
Note that elements with qweb-related attributes (t-*) are not translated
inline.

Add tests on xml_translate().
2015-07-06 16:58:04 +02:00
Raphael Collet 0af707594e [IMP] translate: introduce function to translate XML fields 2015-07-06 16:58:03 +02:00
Raphael Collet 2ba2cbca5f [IMP] translations: synchronize terms when English value of field is modified
Also adapt the insertion of missing translations when clicking on the translation icon.
2015-07-06 16:58:03 +02:00
Raphael Collet 8ddfb1888b [IMP] models, fields: handle the case where field.translate is a callable
Using `field.translate(callback, value)` returns the translation of the given
field value by using the function `callback` to translate simple terms in
`value`.  In practice, the function `callback` uses a translation mapping
retrieved from `ir.translation`.
2015-07-06 16:58:03 +02:00
Raphael Collet d5a1d7b6ae [IMP] models: improve reflection of fields into ir.model.fields
* add missing columns in base.sql
* add missing fields 'help', 'readonly', 'required', 'selectable' in reflection
* add field 'help' in `ir.model.fields` views
* do not patch registry with translated field string and help upon `ir.model.fields` update
2015-07-06 16:58:03 +02:00
Raphael Collet 848c220180 [IMP] ir_model: use ir.model.fields to store translations of fields string and help
* add the necessary fields in `ir.model.fields`
* when loading translations, convert types 'field', 'help' into 'model'
* add specific methods to retrieve translations of field string and help
2015-07-06 16:58:03 +02:00
Raphael Collet 1fc4a3424f [IMP] fields: add method traverse_related to ease the handling of related fields 2015-07-06 16:58:03 +02:00
Raphael Collet ab452d00f8 [IMP] models: remove deprecated methods read_string and write_string 2015-07-06 16:58:03 +02:00