Commit Graph

90783 Commits

Author SHA1 Message Date
Josse Colpaert 8b204e6751 [IMP] Make sure property_ids on sale order line are visible and able to work 2014-09-12 13:49:41 +02:00
Josse Colpaert 064b1a3a40 [IMP] Old hack where uom_id had to be empty in on_change
[IMP] Add purchase order origin on picking

[WIP] Picking type on move for location on routing

[IMP] Provide extra function for custom buttons on picking

[IMP] Action assign optim

[IMP] Push apply should take invoice_state into account.  Propagation of cancel of stock moves should depend on procurement rule
2014-09-12 13:49:41 +02:00
Denis Ledoux 06e1476e3b [FIX]stock_account: missing default value for Inventory Valuation 2014-09-12 09:57:56 +02:00
Denis Ledoux 87d458f0d7 [FIX] website: customize menu, only a with data-view-id should actually call do_customize 2014-09-11 15:48:37 +02:00
Simon Lejeune c240b4a4e8 [FIX] website_forum: moved editor-related js files into the editor asset 2014-09-11 14:09:11 +02:00
Denis Ledoux a259370fed [FIX] website: do not bind do_customize to menu without data-action 2014-09-11 13:57:58 +02:00
Olivier Dony 914b697ee9 [FIX] report_webkit: re-enable test, disabled during new API developement
Requires an extra use_global_header to be added on
the report record, to mimic the super.create()
behavior, as super.create() is not called.
2014-09-11 13:54:16 +02:00
Martin Trigaux d6fd96d0e9 [FIX] stock: multicompany warehouse creation
When creating a new warehouse, the linked locations should have the same company as the warehouse.
The company_id field is required on warehouse (not necessary in vals as could be added by default values) while it is not for stock.location (meaning global location, also filled with default value).
2014-09-11 13:31:16 +02:00
Christophe Simonis 980d23f98b [IMP] website_blog: more generic xpath expression when inheriting view. ease migration. 2014-09-11 13:19:59 +02:00
Ronak Baxi 1db9915891 [FIX] web: scroll should move top on clicking menu on top bar
Backported from 97d99d1974c965506ed9005d4854fcc5ffee0590
2014-09-11 13:15:39 +02:00
Raphael Collet 7c0387c952 [FIX] fields: in computed fields, handle AccessError and MissingError
When computing a field on a recordset, a subset of the records may be missing
or forbidden by access rules.  In that case, evaluate the compute method record
by record, and mark failed records as such in cache.
2014-09-11 11:57:18 +02:00
Simon Lejeune 378d41551a [FIX] website_forum: header template: double display of questions
The <t t-raw='0'/> is already defined lower in the view (line 101)
2014-09-11 11:56:12 +02:00
Simon Lejeune 92c0dbb8ae [FIX] web: about odoo: correct bootstrap structure inside the modal
Bootstrap's container class has a fixed width, using it in a modal
with the previous commit allowing an horizontal scrollbar makes the
layout goes crazy. Use container-fluid instead and cleaned some css.
2014-09-11 11:55:30 +02:00
Simon Lejeune f4896fc4f4 [FIX] web: modals: overflow-x on modal-body to prevent large content to be displayed outside 2014-09-11 11:55:30 +02:00
Raphael Collet 85533e1841 [FIX] models: in onchange(), do not send a field value if it has not changed
The method onchange() executes onchange methods in cascade.  Suppose onchange()
is called and a field F=1 in the form.  If an onchange method set F=2, that
value is put in the result variable.  If another onchange method set it back to
F=1, the binding F=2 must be removed from the result variable.

Fixes #2309
2014-09-11 11:45:23 +02:00
Martin Trigaux e948253b3a [IMP] point_of_sale: field company_id on pos.config view
Move invisible field on bottom to avoid blank space in view if display journal, group or sequence field
2014-09-11 09:32:59 +02:00
Jeremy Kersten fba1f63550 [FIX] website_blog: fix js error from 0a8aad990c 2014-09-10 19:50:22 +02:00
Jeremy Kersten c916243bb6 [FIX] website_blog: change group restriction to load the JS editor 2014-09-10 18:20:54 +02:00
Jeremy Kersten 0a8aad990c [FIX] website_blog: wait that document is ready before to check if we need to update menu for blog 2014-09-10 18:10:25 +02:00
Jeremy Kersten ba74b29ed0 [FIX] website_event_track: force type from related to fix bug with convert_to_cache on picture 2014-09-10 17:23:19 +02:00
Olivier Dony 13be43f8e3 [FIX] mrp: force default values for dropped fields
Those values were dropped at rev 9b34358 but
need to be forced to empty so older databases
get fixed when upgrading
2014-09-10 17:04:48 +02:00
Olivier Dony 43b0a63fb8 [FIX] sale: force default values for dropped fields
Those values were dropped at rev 3b636a5 but
need to be forced back to default so older
databases get properly updated when upgrading.
2014-09-10 16:51:48 +02:00
Pankaj Joshi e722bdb3c2 [FIX] hr_recruitment: fixed computation and storage of day_open and day_close + assignment of date_open and date_closed. 2014-09-10 15:45:44 +02:00
Olivier Dony 57829ce3ec [FIX] product,purchase,point_of_sale: force empty values for dropped fields
At 96f038a product-related fields were removed due
to an important product.template/product.product
refactoring. As the field values were simply
dropped, they may not be nullified when upgrading an
existing database. Forcing them to False will take
care of it.
2014-09-10 14:58:45 +02:00
Olivier Dony f39a604faf [FIX] mrp: force empty values for fields that were dropped
This ensures the field values are cleared during
upgrades from previous versions
2014-09-10 14:58:45 +02:00
Frederic van der Essen 67ffbe00a4 [FIX] point_of_sale: chrome was dropping the cookie when loading the company logo, resulting in an incorrect logo in multi-db setups. 2014-09-10 14:34:58 +02:00
Raphael Collet ad14acab32 [FIX] models: in method onchange(), check for record dirtiness only on *2many fiels
Cascading onchanges can be caused by a related field computed in cache.  This
causes a bug in sale order lines, were setting the uom field forces reading
product fields, which are inherited from product templates.  The inherited
fields are computed as related fields, which marks the product record as dirty.
This subsequently triggers an onchange on the product field, which resets the
uom field!
2014-09-10 14:26:12 +02:00
Frederic van der Essen 13bd2eaa3e [FIX] point_of_sale: prevent the company logo from being cached by the browser by accessing it via a random URL 2014-09-10 13:52:04 +02:00
Simon Lejeune 34e8246a54 [FIX] web: revert 9f0834771d
Revert "[FIX] web: base.css: fixed width for input of file type under oe_avatar"
A better fix for opw-613318 is done in f8bd25c852
2014-09-10 13:42:35 +02:00
Denis Ledoux f8bd25c852 [FIX] web: FieldBinaryImage upload file at the right place
Before this, the div wasn't in the right place in the form view
for instance, in the product form view, the third checkbox triggered this binary upload file
opw-613318
task-8982
2014-09-10 13:12:21 +02:00
eneldoserrata 41cf52c917 [ADD] l10n_do: Chart of Account for Dominican Republic
Fixes #2257
2014-09-10 12:00:25 +02:00
Josse Colpaert 4d0f6f518a Merge pull request #2312 from odoo-dev/8.0-wmsoptimassignrereserve-jco
[IMP] Add possibity to add rereserve button and optimize action assign
2014-09-10 11:49:09 +02:00
Josse Colpaert 4a0b6f6c41 [IMP] Add possibity to add rereserve button and optimize action assign 2014-09-10 11:23:48 +02:00
Christophe Matthieu b2f3de6da7 [FIX] website_sale: Price of accessory product are all time null. Need to use new api to send the context. 2014-09-10 11:22:04 +02:00
Christophe Matthieu 5064c5b1a5 [FIX] website_event_sale: need to use new api to send the context. Add some step for test to check if the cart have the distinct products 2014-09-10 10:09:55 +02:00
Christophe Matthieu 068e69c2ed [FIX] website.editor: need to set the range on start because the browser can be lost the caret and can't insert the media in the page. 2014-09-10 10:09:34 +02:00
Raphael Collet 7428464004 [FIX] openerp/osv/fields: disable prefetching when reading inverse of one2many fields
This fixes issue #2146.  The inverse of a one2many field can be an inherited
field (_inherits).  In that case, we cannot read its value with a simple
database query.  Instead, we let the related field read it, but for performance
considerations we disable the prefetching of other fields.
2014-09-10 09:41:36 +02:00
Olivier Dony bfb29230b7 [FIX] mrp: force empty domain to reset action at upgrade
There was a domain in 7.0 but it must be forced
to empty during upgrade, as the MRP BoM model
has changed.
2014-09-10 09:07:25 +02:00
Jérome Maes 559aa0b6d1 [FIX] im_chat : search user method, split the sql query into 3 smaller 2014-09-09 17:18:31 +02:00
Raphael Collet a6269dcead [FIX] web: invoke fields_view_get with kwargs instead of positional args
The mapping old api → new api mistakenly takes the last positional argument as
the context (fields_view_get() has an extra parameter after context.)

Fixes issue #2063
2014-09-09 17:13:14 +02:00
Jeremy Kersten 2f1814088f [IMP] crm: Use cookies to save utm instead of session. 2014-09-09 16:51:35 +02:00
Jeremy Kersten b6fb02a331 [FIX] website_sale: typo in tour 2014-09-09 16:50:42 +02:00
Frederic van der Essen 7cf5f0a8a8 [FIX] point_of_sale: display an error when trying to print a receipt on an outdated posbox 2014-09-09 16:17:26 +02:00
Commandant Custo ef5b078b74 [IMP] product: Order product.template by name
When no order is forced, it's more user-friendly if the products are ordered by alphabetical order.
This will mainly be applied:
* In the list view in the back-end
* In the eCommerce, for products with equal website_sequence
2014-09-09 16:08:32 +02:00
Simon Lejeune 4b82cf666f [FIX] Report: search associated qweb views: do not forward context
The context may be inconsistent (for instance, containing a group_by associated to another
model). The client will take care of keeping it consistent. Fixes issue #1768
2014-09-09 14:36:00 +02:00
rsi-odoo 6202918754 [IMP] product : Improve tooltip of pricelist on min_quantity field. 2014-09-09 14:16:38 +02:00
Denis Ledoux a4ab44ac96 [FIX] web_calendar: calendar title and column according to l10n 2014-09-09 13:33:55 +02:00
Christophe Simonis e9a4603cb4 [FIX] fields.py: One2many fields only set inverse field on Many2one fields 2014-09-09 13:28:48 +02:00
Christophe Simonis ab6318e538 [FIX] base: ir.model.data.name_get() respect expected behavior.
name_get() must return a value for each ids and keep order of ids.
2014-09-09 13:28:47 +02:00
Raphael Collet ecd8b5222b [FIX] account.invoice.line: move context to last position in onchange methods
The methods product_id_change() and uos_id_change() have been converted to the
new api, and now use the decorator @multi.  When invoked with the old api, by
convention the methods will take the last argument as the context.  But this
will not work properly for those methods, as the context is passed in another
position.  In order to avoid an argument swap in the api wrapper, we moved the
context to its expected position.

Fixes #1943
2014-09-09 11:50:10 +02:00