- Mar 31, 2015
-
-
Richard Mathot authored
(also fixes some typos)
-
Richard Mathot authored
-
- Mar 27, 2015
-
-
Arthur Maniet authored
-
- Mar 26, 2015
-
-
Christophe Simonis authored
-
Raphael Collet authored
The implementation of ormcache does not work on methods that take a context parameter. Because of the decorator decorator, the arguments of the call are passed positionally to the method ormcache.lookup, and positional arguments are used in the cache key. The fix consists in removing the context parameter from the faulty methods, either directly, or by caching a private method called by the public method.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Victor Tabuenca Calvo authored
Commit 540b753b introduced support for resources stored as ir.attachment records in asset bundles too. This is specifically useful for customizations. However the HTTP route for reaching those resources when they are *not* in a bundle was originally created in the `website` module (as a special handling for 404 requests) This means that these dynamic resources would only be partially supported when `website` is not installed, causing various problems: - missing resources in debug mode where bundles are skipped - errors when trying to define new client-side Qweb templates via XML resources - which are loaded with a direct request - ... This commit moves back the supporting code to the web module. The `mimetype` column is not present in ir.attachment without the `website` module, but sniffing it based on the attachment name works fine at serving time too. Closes #6002
-
Nicolas Lempereur authored
When showing a kanban, there is differences between dataset of types: * DataSetStatic: self.view.dataset===self.dataset, their ids attributes are the entire ids list, * DataSet and DataSetSearch: self.view.dataset.ids are the already in the view ids, self.dataset.ids are the last gotten ids. Hence with DataSetStatic dataset, when self.view.dataset.ids.splice(0) is done self.dataset.ids is also emptied. And in the read_slice function, the slice is done on that (now empty) array. This fix removes the splicing of this ids array (which doesn't change a thing since the array is overwritten latter), a _.difference is used to remove eventual duplicates since in the DataSetStatic case, the same array is being concatenated to itself opw-630654 opw-617090 opw-619563
-
Raphael Collet authored
The method needs the `context` parameter to translate the error message in case the access is denied and an exception is raised.
-
Hardik Ansodariya authored
Fix the issue of taxes not being mapped according to fiscal postion opw-615167
-
Raphael Collet authored
The implementation of `ormcache` does not work on methods that take a `context` parameter. Because of the decorator `decorator`, the arguments of the call are passed positionally to the method `ormcache.lookup`, and positional arguments are used in the cache key. The fix consists in removing the `context` parameter from the faulty methods, either directly, or by caching a private method called by the public method.
-
Arthur Maniet authored
- Animation speed, which is set to 0 when there's no match to prevent a visual glitch, is restored otherwise - action panes (match / create) are not displayed via CSS, so the widget needs to purposefully show them instead of purposefully hide them
-
Goffin Simon authored
"Invoiced" stat button on the res.partner form view must not include cancelled and draft invoices. The button triggered an action which shows a tree view with invoices where: type in ['out_invoice'] and all states. Now the button triggers a tree view with invoices where: type in ['out_invoice' , 'out_refund'] and state not in ['draft', 'cancel']. opw:472318
-
Arthur Maniet authored
[FIX] account: coda unique transaction number was utterly wrong, leading to unhappiness for Christine
-
Jérome Maes authored
Backport of 16fa24d5
-
Goffin Simon authored
the context must be passed to the get_filters function to take into account the language of the user. opw:630057
-
Adrien Peiffer (ACSONE) authored
Was changed on the form view at ab640d27, applying the same to tre view
-
Goffin Simon authored
the context of the user must be used in get_filters to take into account the language of the user. opw:630057
-
Jeremy Kersten authored
If you try to import a file with a header 'Parent_id/id' _match_header will not match Parent_id with parent_id because it was comparing with case sensitive. It's not a bug, but in most cases this new behaviour (non sensitive case search) is what the end user was expected. Hate Excel and the auto correct capitalization !
-
Christophe Simonis authored
(missed it during previous forward-port)
-
Richard Mathot authored
-
Laurent Mignon authored
When reconciling, it's sometimes useful to have access to the note since the note can be filled with some information by the parser.
-
Denis Ledoux authored
In BOM, when performing an advanced search on "BOM Lines" contains "a name" all lines were returned, whatever the lines content. This was due to the simple fact no field 'name' was set on the mrp.bom.line model. We set "product_id" as _rec_name, it seems the more logical choice. opw-631335
-
Géry Debongnie authored
In some rare cases (non stored functional fields), the pivot view should allow it as a valid measure. This commit changes the pivot view in such a way that any explicitely defined measure will be added to the list, even if it should not work, like for the non stored functional fields. The pivot view has no way to know if a generic model has overrided the read group method in a correct way to make it work, it is up to the developer to make sure that measures defined in the xml are valid.
-
Géry Debongnie authored
-
Nicolas Lempereur authored
On a line write in a account.move.line tree view, the on_write return all the sibling move lines of the written move line. The lines are then displayed even if they do not match the current search domain. This fix adds the context on the given on_write callback request, and in on_create_write use a on_write_domain in this context to filter the returned ids. fixes #3161, closes #5727 opw-630093
-
Goffin Simon authored
The accept button must be hidden if the quotation is expired. opw:630342
-
- Mar 25, 2015
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
This is the reverse patch of 132afa98
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Loïc BELLIER authored
group_mrp_properties is intended for the property_ids field only, not the other parts in the "Properties" page (probably wrongly named)
-
Denis Ledoux authored
In the ecommerce, when adding a product to the cart while having website_sale_options installed the product was added in the cart within the website default language, not in the current language of the visitor. The description of the product was in the default website language (for instance, English) instead of being in the visitor language (for instance, French). The reason is quite simple: With website_sale_options, routes are called in javascript, and these calls do not include the website language within the url to the route (e.g., call to '/shop/modal' instead of '/fr_FR/shop/modal) and the language in the request context is therefore the website default language. The solution proposed here is probably not the cleanest possible, a cleaner solution would be to define a new utility JS function within website javascript to perform Ajax calls, automatically adding the language to the url path according to the current visitor language. Another solution would be to set the lang of the session context to the visitor language, and to use this lang instead of the lang within request.context. Nevertheless, none of the two above solutions can be performed in stable releases, such as 8.0, to avoid any risks. opw-631400
-
Jay Patel authored
- Opportunities Kanban: dismiss tips when moving a card - Partner Form: do not display tips while a modal is open
-
Bhumi Patel authored
-
Olivier Dony authored
Skip the creation of the corrective valuation entry when a negative quant is reconciled with an incoming shipment, when: - the cost has not changed, so the journal entry would be useless (credit/debit = 0) - or, when the accounting period for the move causing the negative quant is already closed, and must not be updated (presumably the valuation was manually set before closing that period)
-