Commit Graph
111841 Commits
Author SHA1 Message Date
Pratima Gupta a686cbc6e1 [IMP] stock: rename stock_move_action 'Picking Moves' -> 'Stock Moves' 2017-09-11 11:31:45 -07:00
Pratima Gupta c903a29c54 [IMP] stock: take stock_move_line_action menuitem out of debug mode 2017-09-11 11:31:30 -07:00
Pratima Gupta 029e227167 [IMP] stock: improve string for action_view_stock_move_lines
'Inventory Moves' -> 'Product Moves'
2017-09-11 11:24:57 -07:00
Christophe Simonis 73bb71b80c [MERGE] forward port branch saas-16 up to 295a377e5d 2017-09-11 18:56:15 +02:00
Christophe Simonis 295a377e5d [IMP] web: add test to ensure nobody will commit again unwanted QUnit.only 2017-09-11 18:14:16 +02:00
Martin Geubelle 7a87484856 [FIX] web: remove QUnit.only occurence 2017-09-11 16:54:09 +02:00
fwi-odoo 68d1e6d8b1 [FIX] web: evaluate the view context for the subviews not inline
Before this commit, the xml attributes defined with 'context.get(key)' in the
subviews not inline were not evaluated correctly. This was caused
by the loss of the one context in the '_loadSubviews' method.

This commit fixes this issue and modifies the mockserver in order to be able
to use the parameter 'viewOptions.context'.
2017-09-11 16:41:58 +02:00
fwi-odoo 268e6d9530 [FIX] web: calendar: set event without time as all day
Before this commit, when an event had only a date, the event
was set to midnight.
This commit sets the event as all day event if the field used as start date
is only a date and not a datetime.
2017-09-11 16:41:40 +02:00
Christophe Simonis fdc4ef97c9 [FIX] core: only check table existance in public schema
This allow the use of tables defined in other schemas, like `domains`,
already defined in `information_schema`.

See #16651
2017-09-11 14:55:49 +02:00
Pierre Masereel 45d706a607 [FIX] stock: action_done on move without quantity done
When we validate stock move having move lines with quanity done equal to
'0', these move lines are unreserved and in MRP, it creates move lines
with product_qty = 0 and qty_done = 0 which is not wanted
2017-09-11 14:48:08 +02:00
Pierre Masereel f3b34fecad [FIX] mrp: production wizard
The production wizard raised a traceback when you were trying to consume
product tracked by lot without reservation.

To fix this issue and some potential others, we have removed the
move lines from the wizard and create produce lines that are used on
validation to create the move lines.

This also let us show the 'To Consume' quantity of a lot instead of the
reserved quantity which has no sense when there is no reservation.
2017-09-11 14:48:08 +02:00
Christophe Simonis bd08d4f052 [MERGE] forward port branch saas-16 up to 3ac2a1106c 2017-09-11 14:02:19 +02:00
Christophe Simonis 3ac2a1106c [MERGE] forward port branch saas-15 up to ec15765eec 2017-09-11 13:30:03 +02:00
Christophe Simonis ec15765eec [MERGE] forward port branch saas-14 up to 48f88992da 2017-09-11 12:35:49 +02:00
Julien Legros ecbfcb6dcf [FIX] sql_db: use pycompat string_types 2017-09-11 11:49:13 +02:00
Christophe Simonis 48f88992da [MERGE] forward port branch 10.0 up to 7d7e94c6ef 2017-09-11 11:45:44 +02:00
Christophe Simonis 7d7e94c6ef [MERGE] forward port branch 9.0 up to 46e3e739c5 2017-09-11 11:37:46 +02:00
Christophe Simonis 46e3e739c5 [MERGE] forward port branch saas-6 up to ddbc2da847 2017-09-11 11:24:25 +02:00
Christophe Simonis ddbc2da847 [MERGE] forward port branch 8.0 up to 7805cf5fef 2017-09-11 11:22:33 +02:00
Jeremy Kersten 7697669253 [FIX[ website_sale: remove call to get_website_data
This function has been deleted with commit f9a8c53e48

This commit closes #19251
2017-09-11 10:45:39 +02:00
Odoo Translation Bot 2a0d62295e [I18N] Update translation terms from Transifex 2017-09-10 07:07:40 +02:00
Odoo Translation Bot c2866f17ff [I18N] Update translation terms from Transifex 2017-09-10 04:41:07 +02:00
Odoo Translation Bot 6740879407 [I18N] Update translation terms from Transifex 2017-09-10 00:30:05 +02:00
Thibault Delavallée 8d40a35a16 [FIX] website: add missing link to template user for auth signup in settings 2017-09-08 19:00:06 +02:00
Thibault Delavallée 060e98e0a5 [FIX] auth_signup: allow to (re)set signup template user in settings
If it is unsetted there is currently no way to set it back unless putting
directly the ID in the ir.config_parameter table. Let us therefore allow
people to reset their template user for signup.
2017-09-08 18:59:53 +02:00
Thibault Delavallée 028c99db68 [FIX] auth_signup: open correct user for access rights in settings
Actually the signup template user to open is configurable and come from
an ir.config_parameter and is not necessarily the data created in
auth_signup even if it is the default value.
2017-09-08 18:59:25 +02:00
Sanjay Jamod c6aea4afc2 [FIX] auth_signup: fix computation of default template user in settings
Indeed we store an integer that is the ID of the user to copy when
creating the portal user, not a boolean. We therefore have to evaluate
the result instead of comparing it to a boolean. This was introduced
at 689d6d6829.
2017-09-08 18:58:51 +02:00
Fabien Meghazi 6fa705399b [FIX] http/db: handle case when db_filter is empty in the config file
In such a case the db filtering won't be applied on an empty regex so
we use the list of databases passed to `db_name` (--database) as
the database list (and we also avoid to list all the databases present
on the postgresql cluster)

As a side effect, this patch allows to strengthen the postgresql security
by preventing Odoo to list all the databases present on the cluster.
2017-09-08 18:29:26 +02:00
Martin Geubelle 3ae9a6b537 [FIX] web: Kanban: allow to resequence a record twice
Before this rev., it was not possible to move a record (in the same column)
at the top and then move another record above it.

There is special class `o_updating` added on record being edited to avoid
moving them. This class is normally removed afterwards when re-rendering the
record.

When resequencing, the record is re-rendered so the class won't be removed ;
this is why it shouldn't be added in the first place (same behaviour as saas-15).
2017-09-08 16:35:45 +02:00
David Monjoie ca496c2198 [FIX] board: fix lxml import after P3 migration
Encoding 'unicode' is not supported by xml.etree.Elementree.toString
but it is supported by lxml.etree.toString
2017-09-08 15:34:15 +02:00
Jérome Maes dee87e106a [FIX] sale: access error when confirming SO if you are not admin
Use sudo to access config parameters. Previously it was an ir values
but now we have to access a config parameter as superuser.
2017-09-08 13:57:37 +02:00
Nicolas Martinelli cbee332bb1 [FIX] mrp_repair: default location in multi-company
1. Create a new company
2. Create a user with access to this company and with access to repair
3. Connect as the new user
4. Try to create a new repair and the stock.warehouse access error
   should appear

opw-769160
2017-09-08 13:14:36 +02:00
Martin Geubelle 14cb9af0d6 [FIX] web: only send changed fields on one2many after onchange
The server response to an `onchange` on a one2many is a list of
commands. In case of one2many update (command 1), the server
returns all fields (and not only the modified ones).
When saving the record, this is the client responsability to
specify which fields really changed.

Before this commit, all fields were sent at `write` and not only
the changed ones. This was causing issues when the user couldn't
write on the field ; an error was triggered even though the user
didn't change anything.

To fix this, we only tag as changed (in the datapoint `_changes`
attribute) the fields that have a different value after the onchange.
2017-09-08 12:27:43 +02:00
Christophe Simonis e518f618bb [FIX] website_sale: should explicitly depend on sale_payment 2017-09-08 11:13:58 +02:00
Tejas Shahu 17e432d9a6 [FIX] mail: systray: next activity not closed on click
Before this commit, when you clicked on the dropdown, the action
was executed but the dropdown wasn't closed.
This issue was very annoying on mobile because the dropdown is in fullscreen
and we couldn't see the result of the action.

Now, we removed the "stopPropagation" which stops the bootstrap event
to close this dropdown.
2017-09-08 11:12:36 +02:00
Moises Lopez - https://www.vauxoo.com/ 4e2db85f2e [FIX] base_address_extended: default to Null instead of empty string
for computed street fields.

Qweb reports delete the node if the value is Null but won't if the value is an empty string. And then, l10n_mx_edi module has errors because there are nodes with empty string and the minimum value is one char.

Courtesy of Vauxoo. Was PR #17169

Backport in Saas-14 from opw-770430
2017-09-08 10:13:30 +02:00
Lucas Perais (lpe) 825c7c1ed6 [FIX] website_forum: fix display of images in a post
Before this commit, the images were messing up the layout of the post, with text uglily lying on their right
This commit solves the issue at rendering of the post, to ensure that current posts on prods be affected in a reversible manner.
Also, we want this commit to have minimal impact

OPW 769721

closes #19322
2017-09-08 09:44:30 +02:00
Lucas Perais (lpe) 7805cf5fef [FIX] tools: fix amount to text in fr and nl
Correct rendering of 70 and 90 in french
And manage inversion [unit]-en-[tens] in nl

opw 757048

closes #19297
2017-09-08 09:40:56 +02:00
Yenthe V.G 1d769ad5a7 [FIX] web: Don't show buttons when model has readonly access
PR #19314
2017-09-08 09:23:44 +02:00
Hiral Bhavsar 21931b7b6a [IMP] stock: display quant_ids similar to current_picking_move_line_ids 2017-09-07 14:23:29 -07:00
Hiral Bhavsar eef695f0d5 [IMP] mrp: make 'Inventory Moves' on MO display stock move lines
Also display this stat button in 'cancel' state.
2017-09-07 14:23:29 -07:00
Hiral Bhavsar 9022d84e00 [IMP] mrp: rename final_lot_id string
'Current Lot' -> 'Lot/Serial Number'
2017-09-07 14:23:28 -07:00
Hiral Bhavsar 26ce58eb2c [IMP] stock: remove 'Content' tab from package form view. 2017-09-07 14:23:28 -07:00
Hiral Bhavsar ff97f761ea [IMP] stock: clean up traceability report
- Add new column 'LOT/SERIAL NUMBER'.
- Add label 'Date' for date
- Column 'LOCATION SOURCE' and 'LOCATION DESTINATION' are merged into
  'LOCATION'.
2017-09-07 14:23:28 -07:00
Hiral Bhavsar 0bc29de024 [IMP] stock: group tracked products in stock.move.line
When the picking type doesn't have use_create_lots or
use_existing_lots the products should end up in one
stock.move.line. The user will then be able to validate the picking
without specifying serial/lot numbers.
2017-09-07 14:23:28 -07:00
Hiral Bhavsar 39d5881b93 [IMP] stock: restructure product.valuation.tree view
And display stock_value with a currency symbol.
2017-09-07 14:23:27 -07:00
Hiral Bhavsar f2926823e8 [IMP] stock: remove field 'method' from 'product.putaway'
Because it wasn't used anymore.
2017-09-07 14:23:20 -07:00
Goffin Simon 55b8a454c9 [FIX] mrp: Unbuild order with serial number
When unbuilding an order with serial number, the quant with the right
serial number must be found in the system either it raises an UserError
explaining  what's the problem.

PS: A problem was found when we tried to unbuild two times the same MO.
After the first unbuild, we deleted it and recreated the same one.

opw:748472
2017-09-07 16:39:58 +02:00
Nicolas Martinelli 6879409723 [FIX] im_livechat: unsupported locale
- Set the browser to language 'Spanish (Latin America)' ('es-419')
- As a public user, open a livechat session.

The session doesn't open.

The root cause is the creation of a mail channel which contains
translatable fields (e.g. name). This attempts to create translations
in the 'es_419' language. However, this locale doesn't exist in Odoo,
and it triggers the constraint 'lang_fkey_res_lang'.

In this specific case, there is no real reason to translate the channel
name. Therefore, we simply avoid it thanks to a context key.

opw-766489
2017-09-07 15:54:26 +02:00
Kirti Choudhary be7ac3a503 [FIX] mass_mailing: urlparse is replaced with werkzeug.urls.url_parse 2017-09-07 14:17:21 +02:00