Commit Graph
102197 Commits
Author SHA1 Message Date
Odoo Translation Bot 345c83a9d0 [I18N] Update translation terms from Transifex 2016-03-13 02:59:06 +01:00
Odoo Translation Bot 41c94f6c77 [I18N] Update translation terms from Transifex 2016-03-13 00:33:15 +01:00
rmu-odoo 221866309b [IMP] l10n_gr: Added post migration file 2016-03-11 16:54:02 +01:00
rmu-odoo cb035a74c8 [IMP] l10n_gr: Created new tags and Assign to taxes 2016-03-11 16:53:57 +01:00
Goffin Simon 2ac57c6a01 [FIX] product: default product_tmpl_id in view form
The form view product.template.common.form is common for product.product
and product.template Then the active_id could not be used by default for
the field product_tmpl_id.

opw:670779
2016-03-11 16:53:22 +01:00
Tanguy Charlier 323af2c259 [FIX] Doc: Invalid example in compute doc 2016-03-11 16:49:23 +01:00
rmu-odoo 340a085a96 [IMP] l10n_hr: Added pre and post migration files 2016-03-11 16:20:52 +01:00
rmu-odoo 9e0bea8c54 [IMP] l10n_hr : Created new tags and Assign into taxes 2016-03-11 16:20:45 +01:00
Martin Trigaux 2346a51ed0 [IMP] website_payment: remove debug code
Remove logging unecessary information. While this info is not persistent or
transmited, there is no reason to log it in developper console.
2016-03-11 15:13:41 +01:00
Martin Trigaux d67772da57 [I18N] stock: export source terms
missing and unnecessary terms
2016-03-11 15:13:41 +01:00
Christophe Simonis b59be87a18 [MERGE] forward port of branch 8.0 up to a0c5cf6 2016-03-11 14:12:58 +01:00
Christophe Simonis a0c5cf68ca [MERGE] forward port of branch 7.0 up to 3bc7ea6 2016-03-11 13:30:23 +01:00
Josse Colpaert 99f5782ee6 [FIX] mrp: When exploding for a phantom bom (kit), it should take care of service products in it too
A Phantom BoM can have service products which can create tasks.
Somehow the code did not use the _need_procurement function that was there before
to check if it needs to create a task.
2016-03-11 11:29:23 +01:00
Goffin Simon 8e69043562 [FIX] product_visible_discount: uom in context
The factor didn't have to be computed if the uom was already in context
when browsing the product.

opw:671367
2016-03-11 11:22:02 +01:00
Damien Bouvy 18c94cc969 [DOC] report: paperformat available in report declaration
No warning needed concerning the stupid parperformat_id inheritance hack.
2016-03-11 10:39:43 +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
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
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
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
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
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
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
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 b1b8d0b353 [FIX] account: buggy typo in unused line
it was a tracback prone res
2016-03-09 14:09:37 +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
Christophe Simonis d1067cf83f [FIX] stock_account: avoid duplicate ids in stock.history
Since 27a7cab52b, it may happen that the
stock.history view contains duplicated id (mutliple quants with
different lots for a single move).

Regroup serial numbers in order to keep a unique id per row.

opw-669349
2016-03-09 12:51:33 +01:00
Goffin Simon f5989bc3d8 [FIX] purchase: _get_po_line_values_from_procs
Introduced by eefc76fdee
Only the supplier taxes of the company set in the procurement
must be set in the PO.

opw:666875
2016-03-09 12:10:39 +01:00
Denis Ledoux c175699e3f [FIX] sale: make New in new sales orders translate-able
opw-671476
2016-03-09 11:33:41 +01:00
Denis Ledoux f4006d22ef [FIX] crm: allow Settings users to set generate_sales_team_alias
The change of value of this param can lead to the
unlink of an `ir.values`, which can be performed
only by sudo.

opw-671469
2016-03-09 11:24:09 +01:00
Damien Bouvy d69d08cfb1 [DOC] views: calender 'event_open_popup' is disabled by default 2016-03-09 10:35:58 +01:00
Goffin Simon 6cb518d530 [FIX] website_portal: state_options
Inspired from 1ef52c9

opw:668271
2016-03-09 09:26:21 +01:00
Damien Bouvy 7d90640fd0 [DOC] backend tutorial: end_date field should be on session class 2016-03-09 09:23:53 +01:00
Damien Bouvy 15b8f3586c [FIX] website_portal_sale: let ACL do their job
Specifying the partner_id in the search does not give the same
result as the portal_sale module, which actually lists all the
SOs/Quotes/Invoices where you or anyone from your company is the
partner_id. To make the backend and frontend listings consistent,
let the ACL and ir_rules do their job (these are defined in the
portal_sale module).
2016-03-09 09:23:43 +01:00
Goffin Simon f6a62fa6e1 [FIX] mrp: a member of group_mrp_manager can create Work center
When creating work center, a resource.resource record is created.
Then a member of group_mrp_manager is allowed to create resource.resource record.

opw:671218
2016-03-09 09:15:34 +01:00
Joren Van Onder 591d74becf [FIX] point_of_sale: do not select payment input when hidden
Edge >=12 throws an error (code 800a025e) when calling the select()
method on an input element that is not currently part of document and
has a non-empty value.

When adding a paymentline a "change:selected_paymentline" event gets
triggered which in turn triggers the focus_selected_line function before
the actual paymentline gets rendered.

opw-671426
2016-03-09 09:13:44 +01:00
Denis Ledoux 9fa597c9c2 [FIX] point_of_sale: sessions closing performances
`account.move.line.company_id` is a related
to `account_id.company_id`

`account.bank.statement.company_id` is a related
to `journal_id.company_id`

Any attempt to set the `company_id` value
when creating or writing records for these models
will result to the update of the value in
the related record (the update of `company_id` in the
`account.account and the `account.journal`), which
will result in the update of the `company_id` value in all
records in which this related record is used
(in all `account.move.line` where this `account_id` is used,
in all `account.bank.statement` where this `journal_id` is used).

In other words, the more a database had `account.move.line`
or `account.bank.statement` records, the more
it took time for the pos sessions to be closed.

To force a company for an `account.move.line`
(`account.bank.statement`), you must just
set the correct `account_id`(`journal_id`)
in the first place.

For instance, for the `account_id`, passing
`force_company` in the context ensure to choose
the `account.account` from the right company
property.

See
`local_context = dict(context or {}, force_company=company_id)`
which is set in `_confirm_orders` just before calling
`_create_account_move_line` which retrieve
the account from the
`property_account_receivable_id` property.

opw-671362
2016-03-08 17:55:52 +01:00