Bhavik Bagdiya [Tue, 19 Aug 2014 05:07:54 +0000 (10:37 +0530)]
[FIX] web: grid headers should be aligned properly
Martin Trigaux [Thu, 21 Aug 2014 15:57:57 +0000 (17:57 +0200)]
Forward port of branch 7.0 up to 0ab88f5
Martin Trigaux [Thu, 21 Aug 2014 13:27:31 +0000 (15:27 +0200)]
[FIX] ir_model: invalidate cache when adding new fields
When a new ir.model.field is created, add the new field in the fields_by_model (cache of custom fields). This is required as the __init__ method would not retrieve the new field if fields_by_model is already set.
Otherwise, the _columns would not contain the new fields and we could not access it without restarting the server (e.g. the installation of a module adds ir.model.fields and use it in the a view.
Desai Binjal [Wed, 6 Aug 2014 12:16:46 +0000 (17:46 +0530)]
[FIX] note: small bugs
Martin Trigaux [Thu, 21 Aug 2014 12:30:10 +0000 (14:30 +0200)]
[FIX] base: wrong model change check
Comparing an id and a browse record will always fail so the exception would have always been raised when changing a model (e.g. updating a module with custom fields).
fka-odoo [Wed, 6 Aug 2014 12:12:30 +0000 (17:42 +0530)]
[IMP] account_budget: added date filter in print budget report
Fixes #1743, opw 611307
Denis Ledoux [Thu, 21 Aug 2014 09:17:29 +0000 (11:17 +0200)]
[FIX] point_of_sale: report, product_id of line is product_product
product_id column of pos_order_line is a product_product
the left join of l.product_id was done on product_template, instead of product_product
It worked as long as the ids product_product were the same as product_template. Meaning that, if you used variants, this report view was screwed.
Christophe Simonis [Wed, 20 Aug 2014 15:45:05 +0000 (17:45 +0200)]
[MERGE] forward port of branch 7.0 up to d0a0b7d
Christophe Simonis [Wed, 20 Aug 2014 15:33:27 +0000 (17:33 +0200)]
[FIX] web: correct /web/proxy/load to set correct base_url
Guewen Baconnier [Wed, 9 Jul 2014 11:56:24 +0000 (13:56 +0200)]
[FIX] purchase: skip move if not linked to a purchase order
When this situation happens. the 'cost' is None and the web interface cannot handle this value, provoking a JS error. Thus, prefer to fallback on the standard way to get the cost: based on the current standard price of the product.
Fixes #1032
Martin Ambroz [Wed, 20 Aug 2014 04:42:19 +0000 (08:42 +0400)]
[FIX] base: python 2.6 incompatibility for dictionary comprehension
Sandy Carter [Mon, 11 Aug 2014 17:21:29 +0000 (13:21 -0400)]
[IMP] auth_oauth: set default 'zocial' css_class
The buttons for new providers needs at least the zocial css class to be seen as button. As the field css_class is not in the default form view, add it by default.
Daniel Dico [Sat, 16 Aug 2014 04:59:27 +0000 (00:59 -0400)]
[FIX] account_anglo_saxon: variable 'standard_price' referenced before assignment
Due to forward-port, the variable standard_price was reintroduced instead of valuation_price_unit
Move the change of currency after the fifo/lifo computation.
Fixes #1801
Sébastien BEAU [Sat, 16 Aug 2014 23:44:12 +0000 (01:44 +0200)]
[FIX] web: ignored readonly attribute on image widget
fka-odoo [Wed, 13 Aug 2014 07:13:34 +0000 (12:43 +0530)]
[FIX] web: rendering issue in mail composer on Firefox
The cleditor width does not include the margins. Setting 100% will make the editable area too large (104%) on Firefox (opw 611700).
Replaced by auto, the default value adviced by CLEditor.
David Arnold [Tue, 19 Aug 2014 06:43:47 +0000 (01:43 -0500)]
[FIX] account_voucher: wrong type in context
The type 'general' no longer exists on a account.voucher. As in general context, removed the default value on this menu.
Fixes #1261, it produces a traceback in 8.0 where the selection fields are less fault-tolerant.
Denis Ledoux [Tue, 19 Aug 2014 07:48:05 +0000 (09:48 +0200)]
[FIX] sale: define sale_note field before using it as a default value for sale.order
When uninstalling/installing sale module, this can be problematic
Martin Trigaux [Mon, 18 Aug 2014 15:59:17 +0000 (17:59 +0200)]
[IMP] account_voucher: make the field tax_amount always readonly
The field tax_amount is fieled with onchanges and the compute_tax method. Setting a different value than the one computed by the system may lead to unbalanced move (which is obviously wrong).
In the future, handeling these operations by setting the correct value to the tax accounts would be better.
Martin Trigaux [Mon, 18 Aug 2014 15:50:32 +0000 (17:50 +0200)]
[FIX] account_voucher: avoid error if no partner
The field partner_id is not required on an account.voucher but the validation was failing if none was set (opw 611663).
This patch makes a fallback on the account of the voucher if neither a partner nor a writeoff account is specified.
Thomas Groutars [Thu, 14 Aug 2014 14:47:01 +0000 (16:47 +0200)]
[FIX] product: make sure unlinked product still exists
When uninstalling/updating a module, we may execute unlink method on product.template before product.product. In such cases, the product is already removed after removeing the template (_inherits) and the chained unlink of the product would fail (traceback when browsing).
Denis Ledoux [Thu, 14 Aug 2014 16:01:37 +0000 (18:01 +0200)]
[FIX] point_of_sale: field date of report.pos.order should be a datetime
The date_order field of the pos.order is a datetime, not a date
As, in report.pos.order, the date field is related to date_order of the pos.order
We usually do not commit fixes altering the model fields structure in 7.0, but this one is retro-compatible, as the database structure won't change
Denis Ledoux [Thu, 14 Aug 2014 15:33:59 +0000 (17:33 +0200)]
[FIX] web: do not focus if the focus_field is not a field
Sometimes, focus_field could be a button, and in such cases, we should not focus on it
opw-612045
Rifakat [Thu, 7 Aug 2014 14:56:27 +0000 (16:56 +0200)]
[FIX] stock: inventory lines with no production lot: compare with correct stock level
Inventory lines without production lot number should
be compared with the stock level of products without
a production lot. Otherwise the final result of a
validated inventory is wrong as soon as there are
lines with and without production lot for the same
product.
Adds corresponding regression test.
Fixes https://bugs.launchpad.net/openobject-addons/+bug/1008099
Manual rebase of #1658, courtesy of Numerigraphe
Olivier Dony [Thu, 14 Aug 2014 13:46:37 +0000 (15:46 +0200)]
[FIX] account: reconcile: no useless revalidation
Avoid revalidating the complete account moves
that contain the lines being reconciled.
The reconciliation does not change the validity
of those moves anyway.
This represents a very important speed up of
reconciliation when moves with several hundred
lines are involved.
Mohammed Shekha [Wed, 13 Aug 2014 09:25:03 +0000 (14:55 +0530)]
[FIX] Fixed the issue of calendar view reload events inconsistency, when the slow create popup creates event through any form button which is kind of object, action or workflow at that time events are reloaded but still button action is not called like workflow is not triggered and hence state of the event is still not changed and due to domain newly created event is filtered, note that events are refetched when create_completed is triggered and create_completed is triggered right after creation of record, but there are case where some form button changes state of the record and it requires to refetched for example we have scenario in mrp order planning where Confirm Production creates event but before workflow is triggered and state of the event is changed, events are reloaded and newly created event will not returned because of domain.
Denis Ledoux [Thu, 14 Aug 2014 10:49:32 +0000 (12:49 +0200)]
[FIX] export: in saas-3, req becomes request.
Error during forward port
b9275da8a52255d0fc3f914de9d406612e7dde50
Martin Trigaux [Thu, 14 Aug 2014 10:00:27 +0000 (12:00 +0200)]
[IMP] base: no default domain for partner's title
The title field should not have a domain by default.
When a new record is created or the 'is company' field is changed, the onchange_type is triggered to restrict the domain accordingly to is_company field.
When an existing record is modified, there will have no domain on title field. It's not ideal but at least companies will be able to change the title without the need to modify twice the field is_company.
Fixes #1713
Olivier Dony [Thu, 14 Aug 2014 02:11:33 +0000 (04:11 +0200)]
[MERGE] Forward-port of 7.0 up to 85d2b45
Olivier Dony [Thu, 14 Aug 2014 01:38:58 +0000 (03:38 +0200)]
[I18N] Update 7.0 translations with latest changes on Launchpad
See also https://github.com/odoo/odoo/wiki/GitHub-Transition#translations
Olivier Dony [Thu, 14 Aug 2014 00:24:06 +0000 (02:24 +0200)]
[I18N] Update all 7.0 translation templates with latest terms and annotations
Total new terms: 168
Total deleted terms: 95
Total identical terms: 16329
(Some modules skipped, typically all l10n_* modules)
Olivier Dony [Thu, 14 Aug 2014 00:07:59 +0000 (02:07 +0200)]
[FIX] tools.translate: addons path resolution failed with duplicates
When the addons_path config contained the
default path, the system was working with
an empty addons_path in the middle of the
other paths. This empty one matched for all
files, making all files appear to belong to
the root path component, e.g. `home` if the
root path is in /home.
Refactored a bit to avoid duplicates and
redundant path calculations.
Vo Minh Thu [Wed, 13 Aug 2014 20:59:13 +0000 (22:59 +0200)]
[FIX] tools.translate: when loading entries from a PO file, use also the POT.
On Launchpad, as commented on bug 933496, PO entries (and their comments) are
shared between series. This mean that e.g. the 7.0 series can have the wrong
`reference` comments (those beginning with #:) as they would be copied from say
the trunk series. Those `reference` comments are used to import translations
and look them up.
This patch adds a few lines of code to tools.translate so that targets
defined in the POT `reference` comments are used in addition to those from the
PO file.
Also adds a test module to validate the new behavior.
This patch stems from:
- the 6.1 branch by Vo Minh Thu:
https://code.launchpad.net/+branch/~openerp-dev/openobject-server/6.1-fix-po-targets-933496-vmt
- the 7.0 port by Numerigraphe:
https://code.launchpad.net/~numerigraphe-team/openobject-server/7.0-fix-po-targets-933496-vmt
Olivier Dony [Wed, 13 Aug 2014 18:54:27 +0000 (20:54 +0200)]
[FIX] portal_sale: access rights: sale.shop was removed at cf6595b
Fixes error in forward-port b9275da
Olivier Dony [Wed, 13 Aug 2014 15:49:40 +0000 (17:49 +0200)]
[FIX] portal_sale: missing closing tag in b9275da during forward-port
Olivier Dony [Wed, 13 Aug 2014 15:30:06 +0000 (17:30 +0200)]
[MERGE] Forward-port 7.0 up to 23cffab
Olivier Dony [Wed, 13 Aug 2014 15:20:49 +0000 (17:20 +0200)]
[FIX] portal_sale: remove more access rights, add pricelist access
Pricelist access is necessary for being able to read
the unit price of sale order lines, and does not
pose major security risks, as it does not permit
reading the actual pricelist definition.
Olivier Dony [Wed, 13 Aug 2014 13:15:29 +0000 (15:15 +0200)]
[FIX] portal_sale: remove un-necessary access rights, improve rules
Portal access rights need to be associated with
security rules, or not granted at all, as soon
as they grant access to non-trivial data.
Martin Trigaux [Wed, 13 Aug 2014 12:59:37 +0000 (14:59 +0200)]
[FIX] base: revert 19e401a for title on res.partner form
The title of the partner is restricted with a context that will change in the onchange_type. Having twice the same field will not work well.
Remove the invisible attribute as the domain is handled by the domain.
Samus CTO [Wed, 13 Aug 2014 12:45:38 +0000 (14:45 +0200)]
[IMP] calculating nextcall datetime of a cron SHOULD use the cron's user
Samus CTO [Wed, 13 Aug 2014 12:43:53 +0000 (14:43 +0200)]
[FIX] context_timestamp MUST return a "timezone aware" timestamp
Denis Ledoux [Wed, 13 Aug 2014 12:52:01 +0000 (14:52 +0200)]
[FIX] export: add the context in the export
In some cases, the data dispalyed in a list depends on the context
This context needs to be passed to the export method, so the exported data reflects correctly the data from the list view
Olivier Dony [Wed, 13 Aug 2014 11:26:22 +0000 (13:26 +0200)]
[FIX] gamification: prohibitive record rule processing with many users/goals
Due to the multi-company record rule on gamification.goal,
each access to the Goals menu and each opening of the
Messaging menu (thus calling get_serialised_gamification_summary())
is extremely slow (with several thousands goals/users).
Adding auto_join to the user_id FK on goals makes it much
faster. However it causes crashes when reading the table
because the _order of gamification.goal uses `create_date`,
which becomes ambiguous after the auto_join with res_users.
Solving this can be done by re-implementing _read_flat()
in the ORM using the internal Query object, as in search(),
which takes care of fully-qualifying all column names.
Until this is fixed, a simple workaround is to use
start_date in the _order instead of collision-prone `create_date`.
Olivier Dony [Wed, 13 Aug 2014 10:38:38 +0000 (12:38 +0200)]
[FIX] account.invoice: payments can never be shown to portal users, but residual might be needed
The residual amount is typically needed to render the
online payment forms (payment acquirers).
Payments on the other hand rely on account.move.line,
something that portal users should never be allowed to read.
Removing the field from the view by setting a model-level
group permission ensures they will not see an error.
Olivier Dony [Wed, 13 Aug 2014 09:50:04 +0000 (11:50 +0200)]
[FIX] portal_sale: browse data for payment acquirer form with superuser ID
The payment form needs to be rendered for non-employee
users, and may require accessing extra financial data
not available for those users.
Olivier Dony [Wed, 13 Aug 2014 09:45:59 +0000 (11:45 +0200)]
[FIX] account_followup: avoid crashing when a move line has no ref
Denis Ledoux [Wed, 13 Aug 2014 08:20:03 +0000 (10:20 +0200)]
[FIX] pos: the widget.pos.cashier is not always defined
Rashmin Lumbhani [Tue, 5 Aug 2014 08:38:52 +0000 (14:08 +0530)]
[FIX] fleet: creation of suppliers is now correct
Denis Ledoux [Tue, 12 Aug 2014 15:49:12 +0000 (17:49 +0200)]
[MERGE] forward port of branch 7.0 up to 60ab6f1
Denis Ledoux [Tue, 12 Aug 2014 15:45:05 +0000 (17:45 +0200)]
[FIX] web: on switch form (from list & kanban) do not load record if empty dataset
Ruchir Shukla [Sat, 21 Jun 2014 06:18:42 +0000 (11:48 +0530)]
[FIX] account_anglo_saxon: avoid duplication of price difference lines
When computing the price difference lines, in move_line_get of account_anglo_saxon, we loop on the result of super call for each lines (n * n times) to compute the price difference.
The product_id was used to match the returned line and the original invoice line. This was wrong as we could get several lines with the same product_id (and then get n * n price difference lines).
This patch adds the line id to the result of move_line_get (from account) so that account_anglo_saxon can filter more efficiently and only get one price difference per invoice line.
Fixes #704
Martin Trigaux [Tue, 12 Aug 2014 14:08:30 +0000 (16:08 +0200)]
[FIX] web: missing self initialisation
The self is needed in the _value() method below, opw 608878
Denis Ledoux [Tue, 12 Aug 2014 14:07:35 +0000 (16:07 +0200)]
[FIX] website_customer: pager with country filter
Denis Ledoux [Tue, 12 Aug 2014 13:16:49 +0000 (15:16 +0200)]
Denis Ledoux [Tue, 12 Aug 2014 12:16:35 +0000 (14:16 +0200)]
[MERGE] forward port of branch 7.0 up to 245bb4e
Denis Ledoux [Tue, 12 Aug 2014 12:13:44 +0000 (14:13 +0200)]
[FIX] portal_claim: create claim with no partner_id
If partner_id is False, do not try to name_get
This fix is related to the rev
095be21ab17f7f731877d61c99b48b51119ff39a
Denis Ledoux [Tue, 12 Aug 2014 11:40:45 +0000 (13:40 +0200)]
[FIX] mail: to/from/reply-to addresses formated according to RFC2822
Use formataddr method from email.utils lib, which do the job correctly
Denis Ledoux [Tue, 12 Aug 2014 10:58:38 +0000 (12:58 +0200)]
[FIX] l10n_be_coda: set a meaningful filename default value
Denis Ledoux [Tue, 12 Aug 2014 09:02:15 +0000 (11:02 +0200)]
[FIX] procurement: refactor scheduler so it continues even if a procurement failed
If the mrp scheduler fails during the treatment of a procurement (due to a postgresql error, like an update lock), we let it try the other procurements, instead of stopping at the first procurement which fails.
Besides, we retry to treat the procurements which failed, until the list of the remaining procurements is always the same (meaning something is wrong and block the procurements treatment).
fka-odoo [Fri, 8 Aug 2014 06:46:22 +0000 (12:16 +0530)]
[IMP] payment_paypal: better label for paypal_seller_account
Rename the paypal_seller_account field as 'Merchant ID' instead of 'Seller ID' to match paypal terminology (opw 611765)
Denis Ledoux [Tue, 12 Aug 2014 08:31:09 +0000 (10:31 +0200)]
[IMP] calendar: use registry of request in notify controllers
Jeremy Kersten [Tue, 12 Aug 2014 08:23:38 +0000 (10:23 +0200)]
[FIX] website: google_map remove trailing slash and add an attribut for disable scrolling
Jeremy Kersten [Mon, 11 Aug 2014 15:15:57 +0000 (17:15 +0200)]
[FIX] website_event: show online in event in all country. Add filter online event. Keep the date between filter.
Denis Ledoux [Mon, 11 Aug 2014 13:28:54 +0000 (15:28 +0200)]
[MERGE] forward port of branch 7.0 up to 3632949
Denis Ledoux [Mon, 11 Aug 2014 12:39:50 +0000 (14:39 +0200)]
[FIX] web: image fields re-render on next/previous
By default, on binary images read, the server returns the binary size
This is possible that two images have the exact same size
Therefore we trigger the change in case the image value hasn't changed
So the image is re-rendered correctly
Denis Ledoux [Mon, 11 Aug 2014 09:11:36 +0000 (11:11 +0200)]
[FIX] yaml tests: Set on_change keys not in view logger as debug instead of warning
This is related to commit
d31faceb67fd87acaca00365dcfc28925b08a37f
(This is to avoid the runbot being yellow if on_change methods have extra keys in the returned value, this is not wrong, the web client will simply ignore them).
Jérome Maes [Mon, 11 Aug 2014 09:00:31 +0000 (11:00 +0200)]
[FIX] web_kanban : resequence column and content by drag and dropping
Denis Ledoux [Mon, 11 Aug 2014 08:32:08 +0000 (10:32 +0200)]
[FIX] website: seo, url encode params, + handle connection breaks
Jeremy Kersten [Mon, 4 Aug 2014 10:25:59 +0000 (12:25 +0200)]
[FIX] website: use internal route for SEO suggest keyword, old server is down
Samus CTO [Fri, 8 Aug 2014 09:46:41 +0000 (11:46 +0200)]
[FIX] Calculate date interval using super user time zone
When you set the date of a cron the July 1st at midnight, if the user
time zone has a positive offset, then the converted UTC date is the
June 30th and adding 1 month will end up on July 30th translating to
July 31th instead of September 1st.
To solve this issue we use the super user time zone for the date
calculation.
Denis Ledoux [Fri, 8 Aug 2014 14:18:35 +0000 (16:18 +0200)]
[MERGE] forward port of branch 7.0 up to 5f696ba
Denis Ledoux [Fri, 8 Aug 2014 14:05:32 +0000 (16:05 +0200)]
[FIX] pos: display cashier name on receipt, not the user
Martin Trigaux [Fri, 8 Aug 2014 10:29:47 +0000 (12:29 +0200)]
[FIX] account_anglo_savon: round prices according to account precision to avoid getting unbalanced move
The standard move_line_get from account.invoice returns prices rounded (price_subtotal field as account precision) while the anglo-saxon module could return dict with non-rounded prices.
With amounts with bigger precision, we could get a difference of a few cents when comparing the debit/credits and then not be able to balance the invoice (opw 597208).
Denis Ledoux [Fri, 8 Aug 2014 09:40:30 +0000 (11:40 +0200)]
[FIX] yaml tests: extra key in on_change result isn't that bad.
In the return result of an on_change, having keys which are not ine the view is not that bad, it is not an actual problem.
Display warning instead of asserting all the keys are in the views.
Hardik Ansodariya [Tue, 15 Jul 2014 06:03:49 +0000 (11:33 +0530)]
[FIX] account_analytic_plan: correctly check context
The id of the journal is passed in the context. Avoid trying to browse on jounral_id=False
Fixes #821
dhr-odoo [Fri, 18 Jul 2014 10:44:28 +0000 (16:14 +0530)]
[FIX] project_timesheet: test used fields added not in dependencies
The fields procure_method and supply_method are not present if we just install project_timesheet which makes the tests fail (opw 610590).
Denis Ledoux [Thu, 7 Aug 2014 16:20:13 +0000 (18:20 +0200)]
[MERGE] forward port of branch 7.0 up to a86dfb8
Martin Trigaux [Thu, 7 Aug 2014 14:51:46 +0000 (16:51 +0200)]
[FIX] mail: avoid duplication followers when merging partners
Martin Trigaux [Thu, 7 Aug 2014 14:50:38 +0000 (16:50 +0200)]
[IMP] crm: clean after partner merge
When trying to merge partners, an sql error may be violated (e.g. unique constraints).
In this case, catch the error and delete the problematic record as it will no longer be relevant with the old partner and left unconsistant data in the database.
Martin Trigaux [Thu, 7 Aug 2014 16:15:37 +0000 (18:15 +0200)]
[FIX] website_sale: avoid displaying inactive products in shops
The domains in the form ('o2m_field', operator, False) do not use the orm but convert the domain to ('id', 'invert operator', [list of ids]). This means that the orm is not used and implicit filter (active=True) or access rights are not checked.
A proper fix in master should be done to use the orm instead of an SQL query.
This patch force a search to be made on product.product and then exclude the products where active=False (opw 607602).
Denis Ledoux [Thu, 7 Aug 2014 16:04:13 +0000 (18:04 +0200)]
[FIX] web_kanban: in non-grouped kanban, on switch to form, display first record
in view_form.js, in do_show method, if the dataset index is not set, the on_button_new method is triggered, opening a new record
In regular kanbans (non-grouped kanban), the dataset index wasn't set, and, therefore, when switching to the view mode, it opened a form for a new record instead of opening the first record of the list, like this is the case for the view list and the grouped kanban
Jeremy Kersten [Thu, 7 Aug 2014 15:38:01 +0000 (17:38 +0200)]
[IMP] email_template: add a lambda function to allow a user to format a date from a template mail into a specific timezone, and/or in a specific format.
Eg: ${format_tz(object.name, object.employee_id.address_id.tz,'%m/%d/%Y %H:%M')}
Somesh Khare [Thu, 7 Aug 2014 14:57:23 +0000 (16:57 +0200)]
[FIX] account_voucher: fix typo in journal_id type
Denis Ledoux [Thu, 7 Aug 2014 12:50:14 +0000 (14:50 +0200)]
[FIX] report: allow using 0 decimal precision in rml reports
Jeremy Kersten [Thu, 7 Aug 2014 11:02:59 +0000 (13:02 +0200)]
[FIX] calendar/crm: Add active_id (if in model partner_id) in defaults values from partner_ids when we creates a new meeting.
Bug was that when you click on meeting button from a res_partner form (Customers in menu), the button overwrites the context to use the active partner as a default in the calendar meeting. By consequence, the context overwritte the default partner who are the creator. Now the context could be removed from action and that is in get_default for partner_ids (from model calendar_event) that we add the creator AND the active_id if from a model res_partner.
Denis Ledoux [Thu, 7 Aug 2014 09:54:30 +0000 (11:54 +0200)]
[FIX] payment_paypal: SUPERUSER_ID removed by inadvertence in
1826f6d4eca499754a1f4bbe7179987eab473a55
Denis Ledoux [Thu, 7 Aug 2014 09:41:18 +0000 (11:41 +0200)]
[FIX] payment_paypal: use the validate url according to the acquirer env
fka-odoo [Wed, 23 Jul 2014 11:57:25 +0000 (17:27 +0530)]
[FIX] account: child_of operator in invoice analysis report
When displaying invoice analysis of a company, include the invoices of the members of this company (opw 611084)
Denis Ledoux [Wed, 6 Aug 2014 17:00:01 +0000 (19:00 +0200)]
[FIX] account: payment_ids should list payments of same account than the invoice account
Humberto Arocha [Thu, 10 Jul 2014 05:53:51 +0000 (01:23 -0430)]
[FIX] Account: Consolidation Account should not be carried to next fiscalyear
Stéphane Bidoul (ACSONE) [Thu, 17 Jul 2014 15:43:02 +0000 (17:43 +0200)]
[FIX] l10n_be: spelling error in financial reports
Martin Trigaux [Wed, 6 Aug 2014 12:51:48 +0000 (14:51 +0200)]
[FIX] account_voucher: validation of refund in multicurrency
Fixing several issues for refunds in multicurrency mode that prevented the moves to be balanced.
The amount_currency needs to use the absolute value, as a refund will have a negative amount.
The sign for currency_rate_difference needs to use the line instead of the voucher as they can have different value. e.g. a voucher of 1000$ with invoice of 1200$ and refund of 200$ will have two lines and their currency_rate_difference should have different signs.
Avoids doubling the value in foreign_currency_diff
Fixes #1490, opw 607118 & 611580
Denis Ledoux [Wed, 6 Aug 2014 12:18:57 +0000 (14:18 +0200)]
[FIX] mail: add tooltip to send a message and log a note links
Denis Ledoux [Wed, 6 Aug 2014 11:50:35 +0000 (13:50 +0200)]
[FIX] portal_sale: inadvertence during the forward port
978fd47261d3a6cb6e39053892fb291bf61b511c
Denis Ledoux [Wed, 6 Aug 2014 11:06:46 +0000 (13:06 +0200)]
[FIX] crm_claim: set options no_create, no_open instead of selection
To avoid access denied errors for portal users
Denis Ledoux [Wed, 6 Aug 2014 11:06:20 +0000 (13:06 +0200)]
[MERGE] forward port of branch 7.0 up to 095be21
Denis Ledoux [Wed, 6 Aug 2014 10:47:40 +0000 (12:47 +0200)]
[FIX] crm_claim: allow to create claim as portal user
It wasn't possible to create claims as a portal user when the portal user had a parent_id
Paulius Sladkevičius [Mon, 4 Aug 2014 10:37:50 +0000 (13:37 +0300)]
[FIX] point_of_sale: clear tag in pos order sheet layout
Without clear tag total amounts breaks sheet layout.
Denis Ledoux [Wed, 6 Aug 2014 09:17:39 +0000 (11:17 +0200)]
[FIX] website_quote: add description sale to quote line description
Rifakat Husen [Tue, 5 Aug 2014 15:15:06 +0000 (17:15 +0200)]
[FIX] stock: onchange method should take the description
The onchange_product_id method used to only change the description if the stock.move is not saved yet. That does not make much sense.
opw 607347, bug lp:1314700
Anael Closson [Tue, 5 Aug 2014 15:01:23 +0000 (17:01 +0200)]
[FIX] analytic: name_search on accounts
The name_search was hardcoding ilike operator while it could be different. This means that a name_search "name != Agrolait" would return accounts with agrolait.
A side effect of this was the impossibility to import account_analytic_account whose parent is a substring of another - opw 607315