odoo/odoo.git
9 years ago[FIX] web: fixed css of hidden input file: a hidden element could interfere with...
Thibault Delavallée [Wed, 20 Aug 2014 14:29:56 +0000 (16:29 +0200)]
[FIX] web: fixed css of hidden input file: a hidden element could interfere with other elements
in the dom, leading to some fields not being accessible.

9 years ago[IMP] readable code
Fabien Pinckaers [Thu, 21 Aug 2014 09:02:18 +0000 (11:02 +0200)]
[IMP] readable code

9 years ago[FIX] difference POS / Cash
Fabien Pinckaers [Thu, 21 Aug 2014 08:54:38 +0000 (10:54 +0200)]
[FIX] difference POS / Cash

9 years ago[FIX] recursion
Fabien Pinckaers [Thu, 21 Aug 2014 08:43:49 +0000 (10:43 +0200)]
[FIX] recursion

9 years ago[FIX] better responsibilities on objects POS
Fabien Pinckaers [Thu, 21 Aug 2014 08:38:21 +0000 (10:38 +0200)]
[FIX] better responsibilities on objects POS

9 years ago[FIX] point_of_sale: continuation of the session closing fix
Frederic van der Essen [Wed, 20 Aug 2014 21:08:20 +0000 (23:08 +0200)]
[FIX] point_of_sale: continuation of the session closing fix

9 years ago[FIX] point_of_sale: partial fix for unclosable sessions
Frederic van der Essen [Wed, 20 Aug 2014 20:24:21 +0000 (22:24 +0200)]
[FIX] point_of_sale: partial fix for unclosable sessions

9 years ago[MERGE] forward port of branch saas-5 up to 39bee35
Christophe Simonis [Wed, 20 Aug 2014 18:33:17 +0000 (20:33 +0200)]
[MERGE] forward port of branch saas-5 up to 39bee35

9 years ago[FIX] point_of_sale: correct SyntaxError
Christophe Simonis [Wed, 20 Aug 2014 18:24:09 +0000 (20:24 +0200)]
[FIX] point_of_sale: correct SyntaxError

9 years agoMerge branch '8.0' of github.com:odoo/odoo into 8.0
Fabien Pinckaers [Wed, 20 Aug 2014 17:38:59 +0000 (19:38 +0200)]
Merge branch '8.0' of github.com:odoo/odoo into 8.0

9 years ago[FIX] partner of order
Fabien Pinckaers [Wed, 20 Aug 2014 17:38:41 +0000 (19:38 +0200)]
[FIX] partner of order

9 years agoMerge pull request #1890 from odoo-dev/8.0-fixes-website-video-chm
Christophe Matthieu [Wed, 20 Aug 2014 16:59:58 +0000 (18:59 +0200)]
Merge pull request #1890 from odoo-dev/8.0-fixes-website-video-chm

[FIX] website: firefox video and layout; clean_for_save; link

9 years ago[FIX] base: correct view branding tests after c013210
Christophe Simonis [Wed, 20 Aug 2014 16:23:12 +0000 (18:23 +0200)]
[FIX] base: correct view branding tests after c013210

9 years ago[MERGE] forward port of branch saas-4 up to ddef2dd
Christophe Simonis [Wed, 20 Aug 2014 15:57:22 +0000 (17:57 +0200)]
[MERGE] forward port of branch saas-4 up to ddef2dd

9 years ago[FIX] website.editor: must display link information in linkdialox box. Remove /page...
Christophe Matthieu [Tue, 19 Aug 2014 16:26:12 +0000 (18:26 +0200)]
[FIX] website.editor: must display link information in linkdialox box. Remove /page/ and /page/website. from the needle to search page and apply real url as filter after the search

9 years ago[FIX] website.snippet: before the save of the view clean_for_save is called. The...
Christophe Matthieu [Tue, 19 Aug 2014 15:00:19 +0000 (17:00 +0200)]
[FIX] website.snippet: before the save of the view clean_for_save is called. The option marginAndResize (called by twitter) try to bind events on the overlay but the builder don't load the overlay (for time perf). The fix set a default jquery empty div to avoid the error.

9 years ago[FIX] tour: display username in log for point of sale module
Christophe Matthieu [Tue, 19 Aug 2014 14:20:26 +0000 (16:20 +0200)]
[FIX] tour: display username in log for point of sale module

9 years ago[FIX] website.snippet: can't edit website with firefox; remove firefox attr for media...
Christophe Matthieu [Tue, 19 Aug 2014 14:19:53 +0000 (16:19 +0200)]
[FIX] website.snippet: can't edit website with firefox; remove firefox attr for media video is edit mode

9 years ago[IMP] catch & warn about any TTFontFile exception
xmo-odoo [Wed, 20 Aug 2014 15:51:20 +0000 (03:51 +1200)]
[IMP] catch & warn about any TTFontFile exception

It turns out TTFontFile can throw not only TTFError (generic) and KeyError, but also ValueError (unknown cmap) and maybe others.

Just catch Exception, warn that the font couldn't be loaded and report why.

9 years ago[MERGE] forward port of branch saas-3 up to 8f13e83
Christophe Simonis [Wed, 20 Aug 2014 15:51:20 +0000 (17:51 +0200)]
[MERGE] forward port of branch saas-3 up to 8f13e83

9 years ago[MERGE] forward port of branch 7.0 up to d0a0b7d
Christophe Simonis [Wed, 20 Aug 2014 15:45:05 +0000 (17:45 +0200)]
[MERGE] forward port of branch 7.0 up to d0a0b7d

9 years ago[FIX] web: correct /web/proxy/load to set correct base_url
Christophe Simonis [Wed, 20 Aug 2014 15:33:27 +0000 (17:33 +0200)]
[FIX] web: correct /web/proxy/load to set correct base_url

9 years ago[FIX] website translation bug
Fabien Meghazi [Wed, 20 Aug 2014 15:16:29 +0000 (17:16 +0200)]
[FIX] website translation bug

Sometimes a node can't be translated using the website Translate
mode. The translation is added to the Application term list but
the id of the view is not correct.

This happen when a translatable node is a children of a inherited
node whose branding could not be kept. data-oe-source-id was left
over because it was not registered in MOVABLE_BRANDING

9 years ago[FIX] website_forum: portal user are allowed to delete forum post
Denis Ledoux [Wed, 20 Aug 2014 14:12:25 +0000 (16:12 +0200)]
[FIX] website_forum: portal user are allowed to delete forum post

If a portal user has engouh karma, this is possible for him, at least graphically, to delete forum posts, even if is not the author of it.
So, he should be allowed to delete forum posts in the ACL

9 years ago[FIX] crm_partner_assign: allow employees to read the res_partner_activation model...
Thibault Delavallée [Wed, 20 Aug 2014 13:38:31 +0000 (15:38 +0200)]
[FIX] crm_partner_assign: allow employees to read the res_partner_activation model, fixing some access rights issues with the partner form view

9 years ago[FIX] mass_mailing: do not display templates void options menu when there are no...
Thibault Delavallée [Wed, 20 Aug 2014 13:37:23 +0000 (15:37 +0200)]
[FIX] mass_mailing: do not display templates void options menu when there are no option to display

9 years ago[ADD] stock: add new report for package that only show package barcode
Cedric Snauwaert [Wed, 20 Aug 2014 13:30:56 +0000 (15:30 +0200)]
[ADD] stock: add new report for package that only show package barcode

9 years ago[IMP] point_of_sale: track session logins
Antony Lesuisse [Wed, 20 Aug 2014 13:07:56 +0000 (15:07 +0200)]
[IMP] point_of_sale: track session logins

the pos session now keeps track of the session logins, and that number is
included in in the order reference. This prevents orders generated in parallely
created sessions from having the same reference, and also helps reduce fraud.

9 years ago[FIX] purchase: skip move if not linked to a purchase order
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

9 years ago[FIX] res_partner: fixed display of simplified partner form view (image and fields...
Thibault Delavallée [Wed, 20 Aug 2014 12:39:52 +0000 (14:39 +0200)]
[FIX] res_partner: fixed display of simplified partner form view (image and fields display was messy)

9 years ago[FIX] share: fixed crash when using the share wizard, linked to the new api.
Thibault Delavallée [Wed, 20 Aug 2014 10:51:01 +0000 (12:51 +0200)]
[FIX] share: fixed crash when using the share wizard, linked to the new api.

9 years ago[FIX] tools: mail: fixed read more link tha could be placed in a block to be removed...
Thibault Delavallée [Wed, 20 Aug 2014 10:01:50 +0000 (12:01 +0200)]
[FIX] tools: mail: fixed read more link tha could be placed in a block to be removed, being considered as a quote

9 years ago[FIX] fields: *2many related fields should not be read as superuser
Denis Ledoux [Wed, 20 Aug 2014 12:07:43 +0000 (14:07 +0200)]
[FIX] fields: *2many related fields should not be read as superuser

one2many and many2many fields depends on the security rules.
For instance, on products, with the taxes_id many2many fields, you only see the taxes of your own company, thanks to the multi company security rule
With related *2many fields, if you browse it with superuser, you will have all records of the one2many fields, even those you are not allowed to see, as superuser ignores security rules.

For instance, taxes_id of product.product is a related of taxes_id of product_template (through the inherits on product.template), and you should see the same taxes on the product template and on the product product (variant). This is not the case if the fields is read using the superuser

9 years agoMerge branch '8.0' of github.com:odoo/odoo into 8.0
Fabien Pinckaers [Wed, 20 Aug 2014 10:21:58 +0000 (12:21 +0200)]
Merge branch '8.0' of github.com:odoo/odoo into 8.0

9 years ago[FIX] missing row CSS
Fabien Pinckaers [Wed, 20 Aug 2014 10:21:38 +0000 (12:21 +0200)]
[FIX] missing row CSS

9 years ago[FIX] correct domain for autocomplete in many2one
Géry Debongnie [Wed, 20 Aug 2014 08:54:30 +0000 (10:54 +0200)]
[FIX] correct domain for autocomplete in many2one

The domain was using '=', which is correct when selecting a specific
element in autocompletion, but not when searching for all elements
matching a string.

9 years ago[FIX] project,project_issue: display order
Richard Mathot [Wed, 20 Aug 2014 09:11:20 +0000 (11:11 +0200)]
[FIX] project,project_issue: display order

Task/issues shuld be sorted on descending priority

9 years ago[IMP] product: filter and group by category_id on product.template
Hardik Ansodariya [Tue, 12 Aug 2014 10:19:15 +0000 (15:49 +0530)]
[IMP] product: filter and group by category_id on product.template

Was removed (for unknown reason) during refactoring of product and template (opw 611699)

9 years ago[FIX] bad link
Fabien Pinckaers [Wed, 20 Aug 2014 08:31:25 +0000 (10:31 +0200)]
[FIX] bad link

9 years ago[FIX] base: python 2.6 incompatibility for dictionary comprehension
Martin Ambroz [Wed, 20 Aug 2014 04:42:19 +0000 (08:42 +0400)]
[FIX] base: python 2.6 incompatibility for dictionary comprehension

9 years ago[FIX] models: onchange return all subfields in cache when no subfields presents
Christophe Simonis [Tue, 19 Aug 2014 18:04:26 +0000 (20:04 +0200)]
[FIX] models: onchange return all subfields in cache when no subfields presents

9 years ago[FIX] point_of_sale: updated the tooltip for the to weight option to make it clearer...
Frederic van der Essen [Tue, 19 Aug 2014 16:02:17 +0000 (18:02 +0200)]
[FIX] point_of_sale: updated the tooltip for the to weight option to make it clearer that it is to be used with the hardware scale integration

9 years ago[FIX] project_issue: project issue user must be able to read resource calendar
Denis Ledoux [Tue, 19 Aug 2014 15:56:45 +0000 (17:56 +0200)]
[FIX] project_issue: project issue user must be able to read resource calendar

In order to be able to read the days_since_creation field

9 years ago[FIX] point_of_sale: prevent changing the customer after printing the receipt
Frederic van der Essen [Tue, 19 Aug 2014 15:55:46 +0000 (17:55 +0200)]
[FIX] point_of_sale: prevent changing the customer after printing the receipt

9 years ago[IMP] auth_oauth: set default 'zocial' css_class
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.

9 years ago[FIX] HTML row
Fabien Pinckaers [Tue, 19 Aug 2014 15:41:21 +0000 (17:41 +0200)]
[FIX] HTML row

9 years ago[FIX] account_anglo_saxon: variable 'standard_price' referenced before assignment
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

9 years ago[FIX] point_of_sale: the receipt would not print correctly on first try
Frederic van der Essen [Tue, 19 Aug 2014 14:43:05 +0000 (16:43 +0200)]
[FIX] point_of_sale: the receipt would not print correctly on first try

9 years ago[FIX] base: show "application" in view view
Christophe Simonis [Tue, 19 Aug 2014 15:13:10 +0000 (17:13 +0200)]
[FIX] base: show "application" in view view

9 years ago[FIX] website: correct unslugify of routes
Christophe Simonis [Tue, 19 Aug 2014 14:43:23 +0000 (16:43 +0200)]
[FIX] website: correct unslugify of routes

9 years ago[FIX] HTML Questions
Fabien Pinckaers [Tue, 19 Aug 2014 14:33:25 +0000 (16:33 +0200)]
[FIX] HTML Questions

9 years ago[FIX] HTML Questions
Fabien Pinckaers [Tue, 19 Aug 2014 14:30:55 +0000 (16:30 +0200)]
[FIX] HTML Questions

9 years ago[FIX] mail: tell orm to rename column "read" to "is_read"
Christophe Simonis [Tue, 19 Aug 2014 13:35:25 +0000 (15:35 +0200)]
[FIX] mail: tell orm to rename column "read" to "is_read"

9 years ago[FIX] web: ignored readonly attribute on image widget
Sébastien BEAU [Sat, 16 Aug 2014 23:44:12 +0000 (01:44 +0200)]
[FIX] web: ignored readonly attribute on image widget

9 years agoMerge pull request #1800 from blaggacao/8.0-l10n_co
Fabien Pinckaers [Tue, 19 Aug 2014 11:09:33 +0000 (13:09 +0200)]
Merge pull request #1800 from blaggacao/8.0-l10n_co

8.0-l10n_co

9 years agoMerge pull request #1790 from thanhchatvn/patch-2
Fabien Pinckaers [Tue, 19 Aug 2014 11:05:28 +0000 (13:05 +0200)]
Merge pull request #1790 from thanhchatvn/patch-2

Update vi.po

9 years ago[FIX] purchase: purchase buttons on product form only for purchase users
Denis Ledoux [Tue, 19 Aug 2014 10:28:58 +0000 (12:28 +0200)]
[FIX] purchase: purchase buttons on product form only for purchase users

9 years ago[FIX] web: rendering issue in mail composer on Firefox
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.

9 years ago[FIX] models: improve rationale for the management of flag 'recompute' in context
Raphael Collet [Mon, 18 Aug 2014 09:53:13 +0000 (11:53 +0200)]
[FIX] models: improve rationale for the management of flag 'recompute' in context

When the context contains 'recompute': False, the recomputation was not even
prepared. Now both create() and write() prepare the recomputation by invoking
method modified(). The flag only controls whether method recompute() is invoked.
In addintion, the former flag 'no_store_function' was converted to the flag
'recompute', so that both create() and write() use the same flag.

Fixes #1456

9 years ago[FIX] models: unexpected missing value when checking for a field in cache
Raphael Collet [Mon, 18 Aug 2014 09:50:24 +0000 (11:50 +0200)]
[FIX] models: unexpected missing value when checking for a field in cache

At the end of _prefetch_field(), a check is made to ensure that the cache
contains something for the field to prefetch. The check was incorrect because
the cache was checked for a regular value only.

9 years ago[FIX] sale_layout: store=True is causing trouble when generating invoices from a...
Raphael Collet [Tue, 19 Aug 2014 09:49:03 +0000 (11:49 +0200)]
[FIX] sale_layout: store=True is causing trouble when generating invoices from a pos order

9 years ago[IMP] product: specify a view for 'Variant Values' action
kevin wang [Tue, 19 Aug 2014 02:54:01 +0000 (10:54 +0800)]
[IMP] product: specify a view for 'Variant Values' action

9 years ago[FIX] account_voucher: wrong type in context
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.

9 years ago[FIX] sale: define sale_note field before using it as a default value for sale.order
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

9 years ago[IMP] website_quote: handle quote and website descriptions
Jeremy Kersten [Mon, 18 Aug 2014 15:53:50 +0000 (17:53 +0200)]
[IMP] website_quote: handle quote and website descriptions

Add field quote_description on product.template and turn website_description from sale.quote.line into a related.
Overwrite write and create methods to synchronise both fields when setting a product.
website_description on product.template is added by website_sale but there is no dependency relations between these modules so we need to define it in both modules.

9 years ago[IMP] Cache bundles in ir.attachments instead of LRU
Fabien Meghazi [Mon, 18 Aug 2014 13:57:51 +0000 (15:57 +0200)]
[IMP] Cache bundles in ir.attachments instead of LRU

9 years ago[IMP] account_voucher: make the field tax_amount always readonly
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.

9 years ago[FIX] account_voucher: avoid error if no partner
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.

9 years ago[FIX] point_of_sale: copy/paste error, super must use the apropriate class
Denis Ledoux [Mon, 18 Aug 2014 15:49:24 +0000 (17:49 +0200)]
[FIX] point_of_sale: copy/paste error, super must use the apropriate class

9 years agoMerge branch '8.0' of github.com:odoo/odoo into 8.0
Denis Ledoux [Mon, 18 Aug 2014 15:48:09 +0000 (17:48 +0200)]
Merge branch '8.0' of github.com:odoo/odoo into 8.0

9 years ago[FIX] website_forum_doc: fixed tree view impossible to use to create new chapters...
Thibault Delavallée [Mon, 18 Aug 2014 09:31:34 +0000 (11:31 +0200)]
[FIX] website_forum_doc: fixed tree view impossible to use to create new chapters (missing forum_id due to wrongly copy-pasted views) + fixed max width of images displayed in the doc.

9 years ago[FIX] mrp_operations: use list instead of record set for o2m
Quentin THEURET [Mon, 18 Aug 2014 09:45:45 +0000 (11:45 +0200)]
[FIX] mrp_operations: use list instead of record set for o2m

In v7, accessing a o2m returned a list of browse record while it returns a recordset in v8.
The method _move_pass expects a list so a manual conversion is required.
Fixes #1787

9 years ago[FIX] product, point_of_sale: add a display_default_code context option that can...
Frederic van der Essen [Mon, 18 Aug 2014 12:47:53 +0000 (14:47 +0200)]
[FIX] product, point_of_sale: add a display_default_code context option that can remove the internal reference (default code) from the displayed product name. Used in the point of sale to unclutter the receipt & GUI

9 years ago[IMP] models: improve code of _convert_to_write(), make it easier to read
Raphael Collet [Mon, 18 Aug 2014 12:19:24 +0000 (14:19 +0200)]
[IMP] models: improve code of _convert_to_write(), make it easier to read

9 years ago[FIX] account_analytic_analysis: quantity overdue on quantity exceeded, not reached
Denis Ledoux [Mon, 18 Aug 2014 12:05:41 +0000 (14:05 +0200)]
[FIX] account_analytic_analysis: quantity overdue on quantity exceeded, not reached

9 years ago[FIX] point_of_sale: invoicing in the pos printed the wrong order due to a mismatch...
Frederic van der Essen [Mon, 18 Aug 2014 12:03:14 +0000 (14:03 +0200)]
[FIX] point_of_sale: invoicing in the pos printed the wrong order due to a mismatch between order ids and invoice ids

9 years ago[FIX] website_twitter: IE does not accept twitter date format
Denis Ledoux [Mon, 18 Aug 2014 11:13:56 +0000 (13:13 +0200)]
[FIX] website_twitter: IE does not accept twitter date format

Datetime like Tue Jul 13 23:18:36 +0000 2010 is not accepted by IE and return "Invalid date".
Therefore, We parse the date to a format known by IE (and other browsers)
Trick took from http://stackoverflow.com/questions/3243546/problem-with-javascript-date-function-in-ie-7-returns-nan

9 years ago[FIX] point_of_sale: the order uid were generated via timestamp, which were not seque...
Frederic van der Essen [Mon, 18 Aug 2014 10:19:56 +0000 (12:19 +0200)]
[FIX] point_of_sale: the order uid were generated via timestamp, which were not sequencial or easy to understand, they are now generated with the order id and order sequence number which are sequencial

9 years ago[FIX] website_customer: the extra / for url pager is not need in saas-4
JKE-be [Mon, 18 Aug 2014 09:39:33 +0000 (11:39 +0200)]
[FIX] website_customer: the extra / for url pager is not need in saas-4

9 years ago[FIX] point_of_sale: the product name field changed to display_name to include varian...
Frederic van der Essen [Mon, 18 Aug 2014 09:35:24 +0000 (11:35 +0200)]
[FIX] point_of_sale: the product name field changed to display_name to include variants information, this should be reflected in searches as well.

9 years ago[FIX] product: make sure unlinked product still exists
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).

9 years agoImprint corrections - typo
blaggacao [Sat, 16 Aug 2014 04:41:47 +0000 (23:41 -0500)]
Imprint corrections - typo

9 years agoImprint corrections
blaggacao [Sat, 16 Aug 2014 04:40:23 +0000 (23:40 -0500)]
Imprint corrections

9 years ago[FIX] #1526 - Missing filename on binary fields download
blaggacao [Sat, 16 Aug 2014 04:17:28 +0000 (23:17 -0500)]
[FIX] #1526 - Missing filename on binary fields download

9 years agoThis is an updated colombian chart of accounts:
blaggacao [Sat, 16 Aug 2014 03:50:53 +0000 (22:50 -0500)]
This is an updated colombian chart of accounts:
- Accounts based on puc.com.co
- adatpations according to current law and last fiscal reform of 2013/14 incorporated (eg. INC, CREE)
- default: 6-numberd, 6th level are account, others views according to colombian PUC regulations
- default accounts predefined according to standard use case
- Most colombian taxes preloaded. Level of detail adjusted to present and future DIAN reporting requirements
- Complete Tax Code layout for generating all necesary transactional fiscal information, Taxes (INC, IVA, CREE), Retentions (ReteIVA, ReteRENTA), Autoretentions (AutoretentionRenta, CREE) - Including predefined cases for import/export, trade with free trade zones, and trade with Companies under the international trade regime
- EXCEPT: ICA Community tax not included, as differs greatly un per city level

9 years ago[FIX] #1526 - Missing filename on binary fields download
blaggacao [Sat, 16 Aug 2014 03:26:38 +0000 (22:26 -0500)]
[FIX] #1526 - Missing filename on binary fields download

9 years agoUpdate vi.po
Bruce Nguyen [Fri, 15 Aug 2014 02:18:24 +0000 (09:18 +0700)]
Update vi.po

Update translate vietnamese

9 years ago[FIX] models: `_convert_to_write()` shall not return `NewId`
Christophe Simonis [Thu, 14 Aug 2014 19:43:16 +0000 (21:43 +0200)]
[FIX] models: `_convert_to_write()` shall not return `NewId`

The result of _convert_to_write() is intended to be pass directly to
`write()` or returned to the client (`onchange()` and `default_get()`.
`NewId` is as special value that must not be stored into the database
or exposed to the client.

9 years ago[FIX] models: stored func fields computation on one2many write
Denis Ledoux [Thu, 14 Aug 2014 16:19:48 +0000 (18:19 +0200)]
[FIX] models: stored func fields computation on one2many write

On one2many fields writing in an existing record (not when creating new record), the computed stored fields of the one2many were not re-computed correctly
Computed stored fields were marked as modified only if no_store_function was not set to True in the context. no_store_function is set when writing one2many records on an existing record.
Now, these computed stored fields are marked as to be recomputed, but are recomputed later, at the end of the existing record write

9 years ago[FIX] point_of_sale: field date of report.pos.order should be a datetime
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

9 years ago[FIX] models: onchange on new records do not nullify fields from _inherits records
Christophe Simonis [Thu, 14 Aug 2014 15:55:20 +0000 (17:55 +0200)]
[FIX] models: onchange on new records do not nullify fields from _inherits records

9 years ago[FIX] web: do not focus if the focus_field is not a field
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

9 years ago[I18N] Update 8.0 translation with latest source code
Olivier Dony [Thu, 14 Aug 2014 15:01:54 +0000 (17:01 +0200)]
[I18N] Update 8.0 translation with latest source code

9 years ago[FIX] stock: inventory lines with no production lot: compare with correct stock level
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

9 years ago[FIX] account: reconcile: no useless revalidation
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.

9 years ago[FIX] test_new_api: missing parent menu
Denis Ledoux [Thu, 14 Aug 2014 14:48:32 +0000 (16:48 +0200)]
[FIX] test_new_api: missing parent menu

9 years ago[FIX] Fixed the issue of calendar view reload events inconsistency, when the slow...
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.

9 years ago[FIX] base : context evaluation with active_id server side. It now keeps the active_i...
Jérome Maes [Thu, 14 Aug 2014 09:53:23 +0000 (11:53 +0200)]
[FIX] base : context evaluation with active_id server side. It now keeps the active_id in case of a refresh.

9 years ago[FIX] google_{account|calendar}: fix synchro
cod-odoo [Tue, 5 Aug 2014 08:59:02 +0000 (14:29 +0530)]
[FIX] google_{account|calendar}: fix synchro

- no more tracebacks when trying to sync more than once with Google Calendar
- no more context hacks, explicit return of `ask_time`.

(Closes #1588)

9 years ago[MERGE] Forward-port saas-5 up to acbdac4
Olivier Dony [Thu, 14 Aug 2014 12:56:41 +0000 (14:56 +0200)]
[MERGE] Forward-port saas-5 up to acbdac4