Commit Graph
99161 Commits
Author SHA1 Message Date
qsm-odoo 5df9efff19 [FIX] Website: html_frame: display: block
commit from aab
to override display: inline-flex rule defined on oe_form_field (enterprise)
2015-06-18 10:55:26 +02:00
qsm-odoo 8e5332a27e [FIX] LabelSelection Widget
The span was not closed (<span>...<span>)
2015-06-18 10:55:18 +02:00
pvy de124ff500 [MOV] l10n_be: moved reports to other folder 2015-06-18 10:21:57 +02:00
qdp-odoo c22d4a60c7 [IMP] automatized the creation of a 'current year earnings' account when installing a Char of Account 2015-06-18 10:07:30 +02:00
Goffin Simon 2a6564872b [FIX] stock: Source document
The procurement created from a move has as source document[by priority]:
	[1] move.rule_id.name
	[2] move.origin
	[3] move.picking_id.name
ps: the internal transfer is created with this procurement.
opw:641887
2015-06-18 09:24:34 +02:00
Antonio Espinosa 0b886a7050 [CLA] Antonio Espinosa (antespi) 2015-06-18 09:02:19 +02:00
Christophe Matthieu 1b7c49bf1e [FIX] website: trigger on change to save when drag and drop and change snippet options 2015-06-17 19:23:17 +02:00
Christophe Matthieu 4ee19ac990 [FIX] website: use relative url in background image
Use .css convert into absolute url
2015-06-17 19:00:45 +02:00
Christophe Matthieu 7cbe33efdf [FIX] web: relational widget: replace_with returned by the get_value must contains the updated lines. 2015-06-17 18:23:51 +02:00
Christophe Matthieu 26a5ef4f7c [FIX] web: one2many list
Error when click on other record after an update on a one2many record in list editable which have an 'add an item' by checkbox selection
2015-06-17 18:22:21 +02:00
Christophe Matthieu 0cf516f860 git commit -a -m "[FIX] web: relational widgets
Traceback when save a record (e.g.: event.event) when edit and save a created one2many's record in form view (e.g.: event.question), if a one2many line are created previously inside the modal form view (e.g.: event.answer). Wrong check in _on_load_record to don't set starting_ids for created record
2015-06-17 18:17:43 +02:00
Denis Ledoux 93e6b08e7c [FIX] website: Edition with Firefox with CSS of external domains.
Firefox doesn't allow to access sheets cssRules
In such a case, we just pass, these css rules will simply
not be available for the edition of some inputs.

Probably, when a real use case needing these external css rules
will come, we will probably need to fetch these style sheets
another way.

opw-642752
2015-06-17 16:57:00 +02:00
Denis Ledoux 4fbecc35e1 [FIX] web: break tags containing very long words
Otherwise they overlap with the rest of the form.

opw-641567
2015-06-17 16:10:31 +02:00
Martin Trigaux 7f2dc11b22 [FIX] doc: states attributes explanation 2015-06-17 15:01:37 +02:00
Nicolas Martinelli 7d3a4ab1b1 [FIX] l10n_be: sequence number of VAT Intracom report doesn't depend on company
Solves a traceback if the company's user is not the company with id = 1.

opw-642359
2015-06-17 14:44:36 +02:00
Christophe Simonis 2451dfcee4 [FIX] auth_signup: set request lang to created user. 2015-06-17 14:32:53 +02:00
Goffin Simon 403ce405ff [FIX] sale: Update fiscal position
The fiscal position must be updated according to the delivery address.

opw:641883
2015-06-17 13:51:54 +02:00
Raphael Collet b026fe7611 [IMP] models: method read() now uses JOIN to retrieve field translations 2015-06-17 13:32:17 +02:00
Raphael Collet ff3d1fce1f [FIX] models: make method _read_from_database use query parameters correctly 2015-06-17 13:32:17 +02:00
Denis Ledoux 9593a2930f [IMP] model, query: implement sort on translatable fields
The methods `BaseModel._inherits_join_calc` and `BaseModel._generate_order_by`
are modified to add a JOIN to the translation table for translated fields, so
that the translation value is directly accessible in the query itself.

For the JOIN with the translation table to work, the method `Query.add_join` is
extended to take extra conditions in the join clause, together with parameters.
2015-06-17 13:32:17 +02:00
Raphael Collet 44efcf8066 [IMP] models: improve API of some model methods that need the context
The following methods have been decorated with `@api.model` so that they can
carry the context: `_generate_order_by`, `_generate_m2o_order_by`,
`_inherits_join_calc`, `_read_group_prepare`, `_read_group_process_groupby`.
2015-06-17 13:32:17 +02:00
Dharmraj Jhala bc43417b18 [IMP] website_* Post button improved : Prevented posting to server multiple times 2015-06-17 12:51:47 +02:00
Nicolas Martinelli fa57ce878e [FIX] account: wrong domain for UoM
This allows to reset correctly the domain of UoM if the product is not set.
Without this patch, the domain used is the domain of the previous product in
the list.

opw-642074
2015-06-17 11:53:58 +02:00
Nicolas Lempereur 3f1e99c4b9 [FIX] web, website_form_website_sale: form and login
Partial backport of commit 093e39bd.

When a flow is stopped by a login redirection, some data (e.g: a product
comment being posted) could be lost. This commit in this case convert
POST request data to GET data (so it is possible to add a GET controller
which after login will terminate the action).

closes #7100
opw-642350
2015-06-17 11:33:20 +02:00
Xavier Morel 77eca089d1 [FIX] website editor clear()
Apparently in some unclear situations, using delete on the dataset blows
up (issue appears in both Safari and phantomjs) failing the test.

Only try the deletion if the item is actually present in the dataset,
and wrap it in a try/except to handle it blowing up
2015-06-17 11:12:58 +02:00
Richard Mathot 128a3be192 [FIX] base_action_rules: outdated domain 2015-06-17 11:08:38 +02:00
Raphael Collet dca1894b5d [IMP] product: optimize name_get() of product.category
Using the new API takes better advantage of the cache than calling `read()`.
In the list of products, `name_get()` now generates 2 queries instead of 144!
2015-06-17 10:48:29 +02:00
Valerie Pirenne 1e31376e71 [FIX] mail: default_model and default_res_id in chatter 2015-06-17 10:43:37 +02:00
Damien Bouvy 6009a83465 [FIX] website_quote: when selecting a quote template, suggested product's prices should be fetched from the pricelist if one is set on the SO 2015-06-17 10:39:06 +02:00
Martin Trigaux d15322ae34 [FIX] doc: group by filter
The name of the field we are grouping on is inventor_id (cf above), not inventor
2015-06-17 10:25:45 +02:00
qsm-odoo cc7fb1372d [MERGE] Update modals and calendar to new design
Add new modals (new Dialog class + FormViewDialog, SelectCreateDialog, ...)
    + adapt every call to old dialog classes
Add new web_calendar (+ use of new modals for events)
Adapt FieldCharDomain to new modals (+ add debug mode)
2015-06-17 10:07:48 +02:00
qsm-odoo ac8148cfca [FIX] web, web_tests: update css classnames
Update css classnames used in web.tour.js and add them to corresponding
elements in web
2015-06-17 10:03:03 +02:00
qsm-odoo ec7e399b4f [IMP] web: adapt FieldCharDomain to new modals + add debug mode 2015-06-17 09:49:46 +02:00
qsm-odoo 46bf047e86 [IMP] web, web_*, mail, board : New modals and dialogs 2015-06-17 09:49:46 +02:00
qsm-odoo d6d3d0983f [IMP] web, web_calendar: New calendar 2015-06-17 09:49:46 +02:00
Martin Trigaux 6bb3be5ba3 [FIX] doc: api.multi/one confusion
As the methods are using @api.multi, it should be accessed with rec, not self
2015-06-17 09:41:09 +02:00
Nicolas Martinelli c7fad1313a [FIX] purchase: a procurement is done if all moves related are done
In case of a partial delivery of the products to receive, the procurement is
not considered as done since procurement.purchase_line_id.order_id.shipped is
false.

opw-641503
2015-06-17 06:50:20 +02:00
moylop260 6b56091749 [IMP] hr_payroll_account: more generic partner computation
Add method to get partner from hr_payslip_line instead of forcing the current rule
Fixes #3385
2015-06-16 23:28:28 +02:00
Martin Trigaux 22ded0df6b [FIX] doc: less confusing example
The view example for xpath extends a view with the model ir.ui.view
As the content of the view seems to make reference to an object idea.category
and extending the view of a view is not the most clear example, replace the
model by the fictive idea.category
2015-06-16 22:25:36 +02:00
Alexis de Lattre 404b668370 [IMP] stock: Add _prepare_picking_assign method in _picking_assign for easier inheritance 2015-06-16 18:07:08 +02:00
Bhumi Patel 1cf56540ad [IMP]website_version:remove save and publish option from dropdown menu and change text of save button when working in another version. 2015-06-16 17:52:11 +02:00
Josse Colpaert 9b63eeca1b [IMP] Allow picking types without barcode nomenclature and put no default value
In order to avoid the barcode system to work differently when migrating
from v8 to saas-6, we allow not to put a barcode nomenclature on the
picking type.  When it does not have a barcode nomenclature, it uses the
same way to handle barcodes as in v8.
2015-06-16 17:50:46 +02:00
Christophe Matthieu a2896bf28e [FIX] web: database_manager template try to call bootstrap.js instead of modal.js and tooltip.js 2015-06-16 17:13:01 +02:00
Christophe Matthieu 8fcd314253 [IMP] boot: add failed modules in unloaded modules to add informations like dependents, and remove failed modules from the missing module list 2015-06-16 17:13:01 +02:00
Frédéric van der Essen c0712b2ede [FIX] point_of_sale: remove obsolete field 2015-06-16 17:05:47 +02:00
Aaron Bohy c99c6a8974 [REF] web, mail: update jquery autosize to version 3.0.5
Note: it is no longer a jquery plugin
2015-06-16 16:10:38 +02:00
Goffin Simon 9c30ba7143 [FIX] point_of_sale: sum of pos.order.line
amount_line_tax must be used to compute the _amount_all. In this way,
the taxes are computed by "compute_all" which takes into account how
to round(globally or per line). Inspired from "sale.order" behaviour.

Fixes #6765
opw:640211
2015-06-16 16:04:36 +02:00
David Monjoie a9a6aa7ca2 [IMP] website: extract default website customize options into new theme_default module 2015-06-16 15:36:05 +02:00
Antony Lesuisse 037269e9c3 [IMP] website: require less by default
Removed the then useless website.theme view
2015-06-16 15:26:05 +02:00
Antony Lesuisse 920c8df3a4 [IMP] website: reordered website_templates.xml
Also renamed editor_head template to layout_editor, but
this template was never called anywhere.
2015-06-16 15:26:00 +02:00