Commit Graph
101917 Commits
Author SHA1 Message Date
qdp-odoo ece01633cd [FIX] account: account.move.form view improved for a better user experience.
(partner_id as second field in line_ids, and thus not in header anymore + reorganization of header fields)
2016-04-18 10:06:52 +02:00
qdp-odoo b154e219f6 [FIX] account: display only the user's current company journals in the dashboard 2016-04-15 17:38:00 +02:00
Nicolas Martinelli 6de78a3159 [FIX] base: find_or_create
If two partners have the same email address, the call to
`find_or_create` will send a traceback.

opw-674681
2016-04-15 10:41:40 +02:00
Thibault Delavallée f3c9720d42 [FIX] tools: mail: email address escaping
This commit protects tags having an alt attribute containing an @. Like
cite on blockquote, alt on image for example could contain an @. Do not
escape it as it could break images.
2016-04-14 14:39:45 +02:00
Thibault Delavallée f5772c5e8d [FIX] mail: fix issue when processing several CIDs having the same file name 2016-04-14 14:03:55 +02:00
qsm-odoo c2ca69dd50 [DEL] web_view_editor
Die web_view_editor! May you never come back from the dead again!
2016-04-13 14:53:56 +02:00
qsm-odoo b03921cbca [FIX] report: missing mt/mb (and others) definitions
Since the website/web_editor split, the mt/mb definitions were not
included in reports anymore. Those were not the only rules that
were forgotten. In 9.0, as a fix, those rules were added back in the
report.css file.
As the assets have been refactored in saas-10, the fix here is to
link the missing file (unique in saas-10) in the report assets.
2016-04-13 12:57:26 +02:00
Olivier Dony 30febb1c97 [IMP] modules loading: pipe down INFO while loading
a7c1f37197 was a bit on the noisy side
2016-04-12 16:27:15 +02:00
Christophe Simonis 21c7ef8bf5 [MERGE] forward port of branch saas-9 up to eb44341 2016-04-12 11:56:44 +02:00
Christophe Simonis eb443410ff [MERGE] forward port of branch 9.0 up to afba8ce 2016-04-12 11:12:57 +02:00
Yannick Tivisse 887108b1c4 [FIX] base: Rename 'Local Modules' into 'App Store'
Introduced here 1490e430e6
2016-04-12 11:10:30 +02:00
Goffin Simon afba8cec23 [FIX] account: partner_id field in account.move
From 94ed4ce8c8

The original issue is the following:
- Go to the journal item creation
- Choose a partner
- Add a line => the partner on the journal item is removed

This is because `partner_id` on the account move is a related to
`partner_id` on the account move lines. This is likely to cause errors
during the manual encoding of a journal item, since the relation will
link the partner of the account move to the partner of the first account
move line only.

opw:672354
2016-04-12 10:54:37 +02:00
Goffin Simon 0dbdbf136e [FIX] website_quote: onchange for product with sale.quote.option
The on_change_product_id defined for sale.quote.option has been removed
in the form view.

opw:673285
2016-04-12 10:38:31 +02:00
qdp-odoo 67c444bb38 [FIX] account: Don't create journals several times with hierarchical account charts. Courtesy of pedrobaeza. PR #11491 2016-04-11 18:18:12 +02:00
qdp-odoo b2a321a878 [FIX] account: Find correctly taxes when using hierarchical charts of accounts. Courtesy of pedrobaeza. PR #11493 2016-04-11 18:18:12 +02:00
qdp-odoo 9807ff8a91 [FIX] account: Financial Report not sorted the right way. Courtesy of be-cloud-js. PR #11485 2016-04-11 18:18:12 +02:00
Denis Ledoux 5089cb8599 [FIX] hr_timesheet_sheet: exclude unactive accounts in weekly timesheets
This is related to revision f6d6762dc7

opw-674296
2016-04-11 18:09:10 +02:00
qsm-odoo b338ae0153 [FIX] web: do not wrap numbers on multiple lines
In languages where the thousands separator is a space, numbers could
be wrapped over multiple lines.
2016-04-11 15:54:50 +02:00
Christophe Simonis 87d160a742 [FIX] models: partial loading of manual fields
Related and function manual fields may not be loadable during initial
setup (partial=True) due to dependencies being not loaded. Ignore
theses fields during partial loading.
2016-04-11 14:52:42 +02:00
Olivier Dony a445fc996b [MERGE] Forward-port saas-6 up to edf81b54b5 2016-04-11 14:38:53 +02:00
Olivier Dony edf81b54b5 [MERGE] Forward-port 8.0 up to bf163700e4 2016-04-11 14:35:49 +02:00
Olivier Dony bf163700e4 [MERGE] Forward-port 7.0 up to 38905d686f 2016-04-11 14:23:02 +02:00
Olivier Dony 38905d686f [FIX] res.partner: relax condition in 3ab436fb7b
Users may sometimes need to edit their own partner records directly,
although indirect access by writing on `res.users` directly works
fine in most cases.
2016-04-11 13:33:49 +02:00
Denis Ledoux 7f571f0852 [FIX] crm_partner_assign: avoid report view deletion
The SQL view `crm_partner_report_assign`
makes a join on `account_invoice_report`

A column is added to
`account_invoice_report` in the module
`sale` (`section_id` is added to the view),
making the SQL view `account_invoice_report`
replaced automatically at the install/update
of the `sale` module, which leads
to the automatic deletion of the SQL
view `crm_partner_report_assign`,
because the SQL view `account_invoice_report` is
altered.

Therefore, after the install/update of the `sale`
module, the view `crm_partner_report_assign` was
deleted, and the "partnership anaylsis" unusable.

This revision makes sure to init the
`crm.partner.report.assign` report after
every init of the `account.invoice.report`.

opw-674177
2016-04-11 13:05:03 +02:00
Virbhadrasinh Gohil 282538cbfe [FIX] auth_signup: don't crash on user copy
Altering a frozen dict is not allowed

Backport from 7c513773e9
2016-04-11 12:24:59 +02:00
Thibault Delavallée d18d6259ae [FIX] mrp: context propagation 2016-04-11 10:11:10 +02:00
Thibault Delavallée 620d9f2e60 [FIX] mrp: wrong return in override of action_scrap 2016-04-11 10:11:09 +02:00
Goffin Simon 2954df9e68 [FIX] stock: invisible field picking_type_id
The field picking_type_id is a required field, this is why it cannot
be invisible in the form view.

opw:673258
2016-04-11 09:50:03 +02:00
Odoo Translation Bot 05223f558d [I18N] Update translation terms from Transifex 2016-04-10 02:59:08 +02:00
Odoo Translation Bot d4672389f7 [I18N] Update translation terms from Transifex 2016-04-10 00:32:08 +02:00
qdp-odoo 20381eb33d [FIX] account: get rid of 'cannot create unbalanced entry' on bank reconciliation using a tax on manual entry created. Was ticket 673358 2016-04-08 16:54:54 +02:00
Géry Debongnie f652d384a2 [FIX] web: graph_view now actually supports 'stacked' attribute
For some reason, it was lost.  Probably in the graph view/pivot view split.
This commit simply accepts the attribute, but default to true, so nothing
changes unless you have explicitely set it to false.

Also, fixes en error introduced by a forward port (the use of
openerp.web.format_value)
2016-04-08 15:21:17 +02:00
Yannick Tivisse 1c9f7f9890 [FIX] crm: Do not show leads without next activities on NA menu
If nothing is planned for this lead, don't show it on the
Next Activities menuitem
2016-04-08 11:09:59 +02:00
Nicolas Martinelli 653221e5a4 [FIX] mrp_repair: tax calculation and subtotal
Following commit 5b380e13, the the taxes on the fees are not calculated
correctly. Moreover, setting the subtotal in the onchange is misleading
since it will be set to zero if the line is not invoiced. We just set
the price to zero by default, and the click on 'update' will set it
correctly afterwards.

opw-673984
2016-04-08 08:35:54 +02:00
Nicolas Lempereur 2948acfa56 [FIX] mail: typo get id of mentionned channel/partner
opw-673962
2016-04-07 18:00:27 +02:00
qdp-odoo bf8bff19c9 [FIX] account_full_reconcile: fixed bad identation on migration script 2016-04-07 15:31:46 +02:00
Nicolas Martinelli 5b380e13ca [FIX] mrp_repair: tax computation
This solved two issues. First, the price subtotal should contain the
price with taxes excluded, as it is the case in other modules.
Otherwise, the tax will be computed twice. Then, when an invoice is
generated, the taxes should be calculated...

This is an oversight of commit fe2b5f35a4.

opw-673984
2016-04-07 14:49:14 +02:00
Géry Debongnie 6859c8dacb [FIX] web_kanban: fix race condition in do_search
The do_search method still had a race condition because the
read_slice method of datasets alter ids.  So, what could happen is
this: a long search is started, then a shorter search is started and
ended before the first search is completed.  The ui is rendered
properly, but then the long search ends and alter the dataset.  As
a result, the Kanban view is broken (cannot open a record anymore
because the dataset has the wrong ids).

This commit fixes the issue by doing basically what the read_slice
method did, except the ids altering part.  However, it introduced
a new problem for x2many kanban views: these kanban view don't have
the same dataset, they have a datasetstatic. The naive substitution
does not work, so I had to reintroduce the old method in X2ManyKanbanView.
2016-04-07 14:16:04 +02:00
Christophe Simonis a658b9030a [FIX] l10n_fr: force no account on some tax template
These taxes used to have a (now deleted) linked account in 8.0.
Helps migration by forcing the reset of these fields.
2016-04-07 12:43:08 +02:00
Nicolas Lempereur 70ba0e94b3 [FIX] crm: remove Lost filter on Activities Analysis
The two fields used in the filter are not available on the
crm.activity.report model.

It is not possible to do a Lost filter until the fields are added (and
this can only be done in master).

opw-673533

note: should not be forward-ported over saas-10
2016-04-07 10:15:50 +02:00
Nicolas Martinelli 50143ff729 [FIX] base: traceback
Commit 9523d59 avoids to have the _logger.info at each print. However,
`lang_eval` is not defined.

@JKE-be: you might want to review this more thoroughly.

opw-673972
2016-04-07 10:03:15 +02:00
Jeremy Kersten d3dd4161ad [FIX] crm_partner_assign: allow to pass several ids to assign_partner
In previous code, for each lead, that allocate the saleman for all the leads (ids).

So n^n, 100 leads = 10000 allocation/write in db
2016-04-06 17:16:26 +02:00
qsm-odoo f49739124d [FIX] web_editor, website: snippet handles and add job offer
* Bad forward port of saas-9 created a bug where the snippet handles
were wrongly positioned.
* The add job offer button did not work as the modal was marked to
dismiss itself on click (and because this button has not any handler
attached to it; it's the only real link amongst the add buttons).
2016-04-06 16:36:38 +02:00
Jigar Patel 6c40782afd [FIX] mail: Fix read more link navigation issue 2016-04-06 16:15:53 +02:00
Nicolas Lempereur 0c9355a8fb [FIX] website: prefer to get exact language
request.website.get_languages returns a list of tuple in the form:

        (`language code`, `language name`)

With this commit the code first check if there is a language exactly
matching, and only if failed check if there is a match on the short
form.

closes #11613
opw-672412
2016-04-06 15:31:58 +02:00
Jeremy Kersten ab489b1d73 [FIX] website_hr_recruitment: don't display offices from others countries. 2016-04-06 15:16:58 +02:00
Jeremy Kersten d24b5038a0 [FIX] utm: ignore utm for saleman.
When a saleman create a lead or a sale after clicking on a link to test their own campaign, they don't want to be linked to this campaign
2016-04-06 15:16:58 +02:00
Jos De Graeve b6386a0a7e [FIX] doc: configuration file destination
db_name instead of dbname

Closes #11603
2016-04-06 14:40:03 +02:00
Martin Trigaux 8c029e230e [FIX] website_sale: do not force user's language
When adding a product to the cart via _website_product_id_change, some
information are set in the context to mimic `product_id_change` from sale.

In the context of a sale.order redacted in backend, using the language of the
`partner_id` makes sense as the quotation should be in the language of the
customer and not the user writing it.
In the ecommerce scenario, this is not the case. The language is set in the URL
and can be passed as an argument.

Scenario to fix:
Add a product to the cart when visiting the website in a different language.
The product name and description were in English (or language of public user if
different) instead of the language of the website when adding it to cart.
2016-04-06 14:34:10 +02:00
Nicolas Lempereur 29851b74aa [FIX] sale_crm: if no company on lead use user currency
When displaying the `sale_amount_total` of an opportunity, the amount of
the related order are summed up in the opportunity company's currency.

But when creating a lead, we can leave the company empty which warranted
this commit adding in that instance a fall back on the current user
company currency.

closes #11611
opw-673167
2016-04-06 13:11:48 +02:00