Commit Graph
102174 Commits
Author SHA1 Message Date
Anand Kansagra 5e0e7c5546 [IMP] account: Remove duplicate actions on the CoA Action menu 2016-03-11 10:05:47 +01:00
Goffin Simon 4899be001a [FIX] mail: When mentioning several times the same user
When mentioning several times the same user, the variable selection
didn't contain duplicated record.

opw:671445
2016-03-11 09:41:03 +01:00
Yannick Tivisse 1165291ed5 [FIX] purchase: Traceback and bad counter computation
On the product_template, the stat button to indicate the purchased quatity
is buggy in several ways.

1/ The states in the read_group domain have been mistaken with the states
   on the picking (clap, clap)
2/ The read_group is seeking the fields product_id and quantity. Too bad, on
   the model the name is unit_quantity (clap, clap)
3/ The displayed PO lines weren't chosen from a domain. So the computed quantity
   didn't correspond to the displayed lines from the button (small clap, clap)
4/ The action_purchase_line_product_tree linked to the stat button is selecting
   the PO lines where the product is the product id. Too bad, on the PO line
   this is a product.product and on the current object this is a product.template
   (epic clap, clap)
2016-03-10 17:25:42 +01:00
Christophe Matthieu 7ca31fdcde [FIX] web_editor: don't display the html content field
issue: message, click on a record, return to the list view, click on an other record => nothing desplayed.

opw-671047
2016-03-10 16:31:56 +01:00
rmu-odoo 75048eae13 [IMP] l10n_in: Added pre and post migration files 2016-03-10 16:20:49 +01:00
rmu-odoo 9c21822893 [IMP] l10n_in: Created new tag nd Assign in to taxes 2016-03-10 16:20:36 +01:00
dut-odoo 05f8211917 [FIX] event: 2 menuitems having the same id
1/ Two menus having same id, so changed id of 'Mail Schedulers' menu.
   So 'Events Types' menu is visible.
2/ UI improvements(changed menu string: Events Types -> Event Categories,
   no more create and edit options for category selection).
2016-03-10 15:32:30 +01:00
Martin Trigaux 105c822901 [FIX] project_issue: typo in subtype
Closes #11158
2016-03-10 15:14:38 +01:00
rmu-odoo bdbbbbd763 [IMP] l10n_de_skr_04: Added pre and post migration files 2016-03-10 14:43:35 +01:00
rmu-odoo b8f0039f8c [IMP] l10n_de_skr_03: Added pre and post migration files 2016-03-10 14:43:29 +01:00
rmu-odoo 6f27f67255 [IMP] l10n_de_skr_04: Assign newly create tag in domain 2016-03-10 14:43:21 +01:00
rmu-odoo 0ee65579ea [IMP] l10n_de_skr_03: Assign newly create tag in domain 2016-03-10 14:43:14 +01:00
rmu-odoo f2d667b7a6 [IMP] l10n_de: Created new tags only 2016-03-10 14:43:09 +01:00
Denis Ledoux f7b15b8e4f [FIX] sale: defaultl -> default
regression of revision e4232bfb20
2016-03-10 14:23:57 +01:00
Denis Ledoux 4fb2e76b43 [FIX] web: char_domain rendering on record switch
When using the left/riht arrow to switch of record
in a form view,
the rendering of the `char_domain` widget was done too
early, before all fields are ready / set, and if the
domain of the previous record could not be applied
on the current record, it leaded to a traceback.

This revision introduce a new deffered,
because I coudln't find one that was doing
what I was looking for:
 - `is_initialized` is a defferred which is
 resolved when the form view has finished
 its rendering for the first time
 - `reload_mutex` is a mutex used only when reloading or
 switch to left/right record.

While the one needed in this case is a deferred
which is resolved when the record has finished
being rendered, wether when its when coming
from the list view to the form view (and it's
not the first time the form view is loaded,
e.g. list view -> form view -> list view -> form view, another record),
or on the switch of left/right record.

opw-671594
2016-03-10 14:11:34 +01:00
qsm-odoo f677dabb3a [FIX] report: missing css rules since new web_editor 2016-03-10 13:42:44 +01:00
Martin Geubelle d32abe75b1 [IMP] delivery: usability
* Remove useless field `partner_id` (+ data)
* `delivery.carrier` form view
* 'Install more provider' button
* etc.
2016-03-10 13:41:10 +01:00
Martin Geubelle bf10251474 [IMP] payment: environment should be required 2016-03-10 13:41:10 +01:00
Martin Geubelle 42c82d57de [ADD] website, website_sale, website_crm: new dashboard 2016-03-10 13:41:10 +01:00
Martin Geubelle c603b93e1d [IMP] delivery: change terminology for active field 2016-03-10 13:41:09 +01:00
Martin Geubelle cf55717df8 [FIX] website_sale_delivery: placeholder typo 2016-03-10 13:41:09 +01:00
Martin Geubelle ab25cca7e2 [ADD] website_blog: visits on tree view 2016-03-10 13:41:09 +01:00
Martin Geubelle 16175bf023 [ADD] website_sale: allow delivery in Settings 2016-03-10 13:41:08 +01:00
Martin Geubelle b2609985e9 [FIX] website_sale: inline fields in settings 2016-03-10 13:41:08 +01:00
Martin Geubelle 9688ede434 [IMP] website: speed in another group in settings 2016-03-10 13:41:08 +01:00
Martin Geubelle 3a9a473235 [ADD] website: load a translation in settings 2016-03-10 13:41:08 +01:00
Martin Geubelle a60d759831 [IMP] website_sale: salesteam_id and salesperson_id in technical 2016-03-10 13:41:07 +01:00
Martin Geubelle 1d777d6d95 [IMP] payment, payment_*: acquirers installation
The installation of a new acquirer was a bit complicated : from settings,
check the acquirer, then apply (install the module) then list view of
acquirer and finally edit it in form view.

This needed to be simplified. The payment acquirers are pre-filled
in payment. From the kanban view an `Install` button installs and
redirects to the form field.
2016-03-10 13:41:07 +01:00
Martin Trigaux 840da58c87 [FIX] i18n: escaping of incorrect html in help messages
The field help on an ir.actions.act_window is a translatable html field.
When a value is set, it is processed by the `html_sanitize` method to make sure
only valid HTML content is present in the database.
In sanitization, xml line break tag `<br/>` is converted into html tag `<br>`.

Before revision 6c8e53a0, `xml_translate` method was using XML parser for html
fields. Line break was then exported as `<br/>`.
Since this revision, it is using a proper html parser and line break is exported
the same way as it is stored in the database, with a `<br>`.

When translating html value, the content is split per meaningful block and
recomposed based on the msgsrc value. Due to the change of parser, translations
exported before 6c8e53a0 contains `<br/>` tag inside the msgstr and could not
match any block in splitted content (which contains `<br>`).

Correct the .pot with valid tag.
Do not change the xml content of help message as it should still be XML inside
the data files.

opw 671477
2016-03-10 13:33:18 +01:00
Hitesh Trivedi ed589ca98a [ADD] Add (Un)archive button on form view of following model
- slide.channel
- slide.slide
- forum.post
- forum.forum
- blog.blog
- blog.post
- survey.survey (only for closed surveys)
- stock.location.route
- stock.warehouse.orderpoint
- stock.picking.type
- stock.incoterms
- stock.warehouse
- stock.location.path
- stock.location
- crm.team
- mrp.bom
- mrp.routing
- mrp.workcenter
- fleet.vehicle.log.contract
- fleet.vehicle
- event.track
- crm.claim
- hr.equipment.request
- hr.equipment
- hr.department
- res.currency
- procurement.rule
2016-03-10 13:06:03 +01:00
Denis Ledoux e4232bfb20 [FIX] sale: add the lambda to the default translated string
So it's just not loaded at the registry loading,
but each time it's called.
2016-03-10 12:05:18 +01:00
Denis Ledoux 668b4e1f62 [FIX] membership: invoice_line has been renamed to invoice_line_ids
This prevented the deletion of invoices when
the module membership was installed.

opw-671575
2016-03-10 11:27:48 +01:00
Jeremy Kersten f5bc92d598 [FIX] crm_lead: don't reset stage if ld stage is common to all sale_teams
Before this patch, if the current stage was common to all sale_teams, at merge, it was removed
because we was searching only in the stages dedicated to this sale_team without the common stage.
2016-03-10 11:09:06 +01:00
Goffin Simon 03c84f2c76 [FIX] sale, sale_stock: Changing the product uom
When changing the product in a SO line, the uom must be change if
the uom category of the product is different of the uom set.

Closes #11241

opw:671367
2016-03-10 10:59:19 +01:00
Parth Mehta 54245deebd [IMP] lunch: view improvement of previous orders.
Purpose:
1/ In the lunch app, previous orders list: the products are not displayed.
It is written X Records but you don't see the products name. Therefore
the information is useless.

2/ It is dangerous to be able to delete a previous order that has been
received (it changes the lunch account amount)

What is done:
In Previous Orders list :
- The view should be based on the sales orders lines. In that case, each
  line = 1 product.
- add a note column (between product and status)
- add a user column (between status and total)
- Rename Total into Price
- If order.line status = ordered or received, it shouldn't be possible
  to delete it. An ir.rule has been added to achieve this.
- An additional group access right check is made in the actions 'confirm'
  'cancel' and 'order' because they can be called in batch under the
  Action button.
2016-03-10 10:18:17 +01:00
Martin Trigaux abe5859559 [FIX] gamification: close challenge after expiration
Before this patch, the challenges with an end date in the future were closed at
the first cron run.

opw-669995
2016-03-10 09:26:17 +01:00
Thomas Groutars 07dd720cf6 [FIX]product_visible_discount: uom factor computation
Conversion error.

opw:671367
2016-03-09 16:48:03 +01:00
Nicolas Lempereur 51641d2634 [FIX] web_editor: leave block after two enter
Before 3959afc the `node` tested would be the selection containing node,
but since then it may have been a `<br/>` which has some damaging
effects: now entering double enter at the end of a list, quote or code
block doesn't end this block.

Testing the use case corrected by 3959afc, the said change seems to have
no effect so this commit reverts it.

opw-667618
2016-03-09 16:01:49 +01:00
Nicolas Martinelli 560e5eec15 [FIX] purchase: duplicate origin in PO
When a "Drop Shipping" route is used on a product, the origin document
is duplicated on the PO created. This is because in this case,
po_rec.origin and procurement.origin are the same.

opw-671039
2016-03-09 15:57:00 +01:00
Rashik kalathiya 6db140d5d6 [IMP] auth_oauth: Update the tutorial 'Sign in with gmail' 2016-03-09 15:07:51 +01:00
Martin Geubelle fe66472e2c [FIX] web, web_kanban: visible default color on tags
The default comportement of tags has been changed. The default color is now visible on kanban.
The 10th color is now invisible.
2016-03-09 14:34:01 +01:00
rmu-odoo b549af8ddf [IMP] l10n_br: Added post-migrate_tags_on_taxes file 2016-03-09 14:22:36 +01:00
rmu-odoo b21c687dd0 [IMP] l10n_br: Created new tags and assign to taxes for one grid in tax report 2016-03-09 14:22:28 +01:00
Yannick Tivisse aed779b0ad [IMP] product: Pricelist creation on Company creation if new currency
When working in multi-company, and each company using its own currency,
a pricelist for the second company should be created. For instance, our
default company is in Belgium -> € and there is a default pricelist in €.
Then you create a second company in US -> $. It is impossible for the us
company to sell in its own country because there is no $ pricelist.

When creating the second company, if the currency is different than the
first company one, the default pricelist in the currency should be created.

In all the cases, a ir.property should be created to link the
'property_product_pricelist' on the 'res.partner' to the new company.

Furthemore, a small usability improvement. The currency should be
activated before creating the company. So we change the label to indicate
that behavior and make the action in target new to prevent the creation flow
to be broken
2016-03-09 14:13:08 +01:00
Yannick Tivisse b1b8d0b353 [FIX] account: buggy typo in unused line
it was a tracback prone res
2016-03-09 14:09:37 +01:00
Mansi Trivedi 2432483e14 [IMP] account: Make fiscal position field searchable on partner form
- Remove the "selection" widget from the fiscal position field.
- User can create this field only from Configuration menu of accounting.
2016-03-09 14:00:11 +01:00
Goffin Simon 13c33264e6 [FIX] purchase: _get_po_line_values_from_proc-sig
Introduced by eefc76f
Only the supplier taxes of the company set in the procurement
must be set in the PO.

Backport from f5989bc3d8

opw:671449
2016-03-09 13:16:14 +01:00
Géry Debongnie f970906c9e [IMP] base,openerp,web: add debug mode === 'assets' and don't split assets by default
This is a rather large change for developers: from this commit on, we
need to use debug=assets instead of just debug to split assets.

The About menu has been slightly improved as well (the link does not
appear when we are already in debug mode), and an option has been added
in the debugging menu to activate the assets debugging mode.
2016-03-09 13:01:34 +01:00
Géry Debongnie 3cc96b2a8e [IMP] base_geolocalize: replace old gtk icon by shiny new fa icon 2016-03-09 13:01:34 +01:00
Géry Debongnie c5c3ab927e [IMP] mail: load audio file lazily 2016-03-09 13:01:34 +01:00