Commit Graph
108623 Commits
Author SHA1 Message Date
Nicolas Martinelli 65f5fc6bf8 [FIX] stock: delivery slip
Complement of commit b0d498c11d

The delivered quantity displayed on the "Delivery Slip" should use the
same UOM than the "Ordered Quantity".

opw-766914
2017-08-30 16:12:15 +02:00
Christophe Simonis 1b7e31f341 [MERGE] forward port branch saas-11 up to 3f72629794 2017-08-30 15:30:01 +02:00
Christophe Simonis 3f72629794 [MERGE] forward port branch 9.0 up to cb21934e00 2017-08-30 15:29:24 +02:00
Christophe Simonis 792204ae9e [MERGE] forward port branch saas-11 up to dce35ca44b 2017-08-30 14:15:32 +02:00
Richard Mathot 6a5c1001d3 [FIX] mrp: stupid typo introduced at ccfc4e7026
Sorry about that.
2017-08-30 14:12:47 +02:00
Nicolas Martinelli cb21934e00 [FIX] stock: inventory adjustment
Backport of commit c00267bc34

opw-767538
2017-08-30 14:04:01 +02:00
Christophe Simonis dce35ca44b [FIX] l10n_*: limit tag migration to 9.0 series 2017-08-30 13:29:44 +02:00
Christophe Simonis f75fd6dcdb [MERGE] forward port branch 9.0 up to 24ca3793bf 2017-08-30 13:19:58 +02:00
Christophe Simonis 24ca3793bf [FIX] website_forum: do not compare recordset against integer 2017-08-30 12:45:35 +02:00
Lucas Perais (lpe) aee1456e89 [FIX] website_sale: correcting syntax typo in xml 2017-08-30 11:43:49 +02:00
Lucas Perais (lpe) e88f91ba41 [FIX] web_editor, website_sale: load images of the shop when product has been updated
Before this commit, when the shop was in multi images, the main image was not refreshed when changed in the back end.
This was because of the ?unique parameter that was computed on the product variant image. Hence, when the product image changed, the variant image did not, the hash neither, and the image wasn't refreshed

This commit fixes this by adding an option to the qweb.field.image

OPW 765287

closes #19133
2017-08-30 10:00:50 +02:00
Christophe Simonis 722dbcfa07 [FIX] hr_expense: also consider cash journals 2017-08-29 16:09:02 +02:00
Christophe Simonis 6c6ba6c78a [MERGE] forward port branch 9.0 up to 81908899fc 2017-08-29 16:07:03 +02:00
Rohan Patel 81908899fc [IMP] l10n_vn: created new tags and assign them to taxes
task: https://www.odoo.com/web#id=22700&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19064
2017-08-29 13:38:50 +02:00
Christophe Matthieu e55aa95f2a [FIX] website_sale: very slow shop grid and product view
The problem is present because there are more than 1000 variants for each
product. For display, the price of each product is recalculated (instead
of looking only at the last product)

opw-766897
2017-08-29 13:27:15 +02:00
Rawish Murari e8b5d84140 [IMP] l10n_lu: created new tags and assign to taxes
task: https://www.odoo.com/web#id=22558&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19102
2017-08-29 13:25:58 +02:00
Rawish Murari 6fcf824309 [IMP] l10n_sg: create new tags and assign to taxes
task: https://www.odoo.com/web#id=22600&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19099
2017-08-29 13:09:23 +02:00
Rawish Murari 097a7e7047 [IMP] l10n_pl: created new tags and update taxes
task: https://www.odoo.com/web#id=22598&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19101
2017-08-29 13:02:49 +02:00
Richard Mathot ccfc4e7026 [FIX] mrp: optimize computation of field "# Manufacturing Orders" 2017-08-29 12:28:41 +02:00
Laurent Smet ec5164510c [IMP] l10n_no: Create tags and assign them to taxes
task: https://www.odoo.com/web#id=22597&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720

PR: #19104
2017-08-29 08:47:11 +02:00
Nicolas Martinelli 4542c14513 [FIX] purchase: date rate
When creating an invoice from an PO, set the appropriate date during
currency conversion.

opw-767279
2017-08-29 08:39:38 +02:00
Christophe Simonis 38c77a5210 [FIX] point_of_sale: use correct variable name
Oversight of forward-port 657e328903

Close #19112
2017-08-28 18:24:19 +02:00
Goffin Simon 361a518010 [FIX] account: Automatic reconciliation button in manual reconciliation
Since 9.0, the button "Automatic reconciliation" is just used for the reconciliations
of bank statements. But the button appeared in manual reconciliation because the
qweb view "manual_reconciliation" extends "reconciliation".

The button must be invisible in this case because this feature is not implemented.

opw:767309
2017-08-28 15:49:17 +02:00
Lucas Perais (lpe) f32a79dd82 [FIX] web: limit amount of rows for excel export
Before this commit, when the amount of rows was above xls format threshold (>65535), the xlwt library threw an obscure Traceback to the user.

We now test the amount of rows before even calling the library, raising a more helpful message to the user

OPW 767319

closes #19035
2017-08-28 14:22:47 +02:00
Nicolas Martinelli c478e94450 [FIX] hr_expense: delete expense
A regular employee is allowed to delete an expense reported already
approved. This should not be possible, only an officer could do it.

Fixes #19044
opw-767549
2017-08-28 13:30:10 +02:00
Rawish Murari 15cb84e0f7 [IMP] l10n_th : one tag per grid in tax reports
Make it easier to add taxes in odoo by using one tag per tax grid.

task: https://www.odoo.com/web#id=22696&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19103
2017-08-28 11:46:08 +02:00
Christophe Simonis 22eb3ee971 [MERGE] forward port branch saas-11 up to 428ad2dfe3 2017-08-28 11:30:46 +02:00
Christophe Simonis 428ad2dfe3 [MERGE] forward port branch 9.0 up to b5aaf0d527 2017-08-28 11:27:40 +02:00
Nicolas Martinelli b0d498c11d [FIX] stock: delivery slip UOM
1. Create a product A, set to stockable product, set its UOM and
   purchase UOM to Unit(s)
2. Create SO with A, but use a different UOM than Unit(s) (e.g. Dozen)
3. Validate, go to delivery, validate, and print the delivery slip

Ordered quantity shown on delivery slip is in SO UOM but listed as
product UOM.

opw-766914
2017-08-28 08:42:50 +02:00
Odoo Translation Bot bb28a2d7f6 [I18N] Update translation terms from Transifex 2017-08-27 04:40:12 +02:00
Joren Van Onder b5aaf0d527 [FIX] point_of_sale: handle fiscal positions that remove taxes
A tax can be mapped to nothing, so first check if
_map_tax_fiscal_position actually returned something.

Fixes #17963
2017-08-26 15:25:35 -07:00
Nicolas Martinelli f4270a244e [FIX] hr_payroll: missing field in view
opw-767431
2017-08-24 16:00:01 +02:00
Nicolas Martinelli dedff1842b [FIX] account: account domain in reconciliation
In the reconciliation widget, create a counterpart line. No domain is
applied on the "Account" field regarding the company, meaning that we
can select an account from any company.

opw-694149
2017-08-24 14:43:04 +02:00
Do Vuong Tien 11c523f693 [CLA] Signature for vuongtien2411
Done at #19025
2017-08-24 14:32:52 +02:00
Nicolas Martinelli 7ec4f2d6f5 [FIX] project: # Days to Close
Take into account the End Date for task analysis.

opw-767245
2017-08-24 11:15:13 +02:00
Christophe Simonis 420e433fa3 Revert "[FIX] website_sale: Avoid compute tax for every company"
This reverts commit 04cddc447b.

Public user can't read taxes (map_tax() only play with ids)
2017-08-23 18:07:38 +02:00
Nicolas Martinelli 9214d78152 [FIX] board: height of graph
When a graph is added to the dashboard, it doesn't have a minimum
height set, so only the label and the axis are displayed, not the
content.

opw-766454
2017-08-23 17:59:04 +02:00
amoyaux 857778fa94 [FIX] stock: move entire pack with multiple quants
There was an error message when trying to move an entire
pack that contains multiple quants saying that every component
in the pack should be in the same location. (it the case with the
bug)

It happens because after action_done only one quant of the package is moved
to the new location and other quant still in the old location. Thus the
check fail. Also the extra move for remaining was not created.

This commit changes the get_remaining_prod_quantities on pack operation
that had a migration error between old/new api. This change returns the
correct remaining quantities and thus the extra move is created and all
quants for the pack are moved to the new location.
2017-08-23 14:24:11 +02:00
Lucas Perais (lpe) 6797d6a7c6 [FIX] web: don't save empty required x2manys
Before this commit, the same function was called at the rendering and at the writing of a field.
It caused a field that should be displayed all the time (field is never false) to ignore its required attribute, in particular with one2many's.

After this commit, we differentiate between the rendering function and the validate to write function, making a type of field both requirable and always displayed even if empty

OPW 766002

Closes odoo/enterprise#1306

Cherry-pick odoo/enterprise@be8e570991
2017-08-23 12:20:24 +02:00
Nicolas Martinelli 3b232b9eff [FIX] link_tracker: do not track 'tel:' or 'sms:' links
- Create a mass mailing including a 'tel' or 'sms' link, e.g.
  `<a href="tel:555-000-0000">555-000-0000</a>`
- When sent, the link is converted to a tracked linked (`http://...`)

We do not want to convert these links, they should be handled by the
browser directly.

opw-765885
2017-08-23 11:08:19 +02:00
Géry Debongnie ffd4338639 [FIX] web_kanban: allow special chaaracters in kanban tooltip 2017-08-23 10:56:57 +02:00
Nicolas Martinelli b3590bc58e [FIX] mrp: change lots in produce
- Create Products A and B, tracked by unique serial number.
- Receive some quantity of B.
- Create a BOM for A which uses 1 unit of B.
- Create a MO for 2 units of A, save and check availability.
- Click on the 'Produce' button.
- Change the suggested lot (choose a new one or create), then click on
  the '+' button.

When the wizard is reloaded, the lot chosen is lost.

We reach an exception in the framework: when clicking on the '+' button,
no `create` is performed on the transient model `mrp.product.produce`,
therefore the values are not saved.

Since this use case is an exception and is likely to lead to errors, we
remove the button.

opw-761044
2017-08-23 10:17:49 +02:00
Benjamin Willig 00125215f7 [FIX] Allow inheritance to change writeoff lines values
Allow inheritance to change writeoff lines values in function _create_writeoff

opw:766422
2017-08-23 09:45:48 +02:00
Nicolas Martinelli 388e258ce8 [FIX] web: rotate graph label
When there are too many labels to display on the x-axis, they overlap
and it simply becomes unreadable. By slightly rotating them, this can be
avoided in most cases.

opw-697625
opw-697626
2017-08-23 08:44:12 +02:00
Nicolas Martinelli cda1bc55af [FIX] product_extended: traceback on bom_count
Complement of commit 543f75f46e

opw-766678
2017-08-22 18:25:45 +02:00
Nicolas Martinelli 5f7030fc44 [FIX] stock: move name length
- Create a stockable product with a long description (> 3000
  characters)
- Validate the SO

An error is raised because the stock move name is too long.

The stock move name is taken from the procurement name, which is itself
taken from the SO line description. However, the stock move name is an
indexed field and therefore its length is limited (to 2712 characters by
default).

We truncate the move name to 2000 characters. Actually, there is no real
point to so many characters, nor its indexing.

opw-767040
2017-08-22 17:34:12 +02:00
Borni DHIFI c02f9e433d [CLA] signature for Borni DHIFI
Closes #18989
2017-08-22 17:27:58 +02:00
Christophe Simonis 6dc0f31415 [MERGE] forward port branch saas-11 up to 92ec666f8d 2017-08-22 16:28:10 +02:00
batuto feef39aee0 [IMP] doc: add warning about constrain method trigger
It may be confusing that a constraint is not triggered in a name_create call.
Testing the absence of value should be done in an override of create, not in a
api.constrains.

Closes #18382
2017-08-22 15:46:48 +02:00
Holger Brunn 8a4a232e54 [FIX] project_issue: use issue_count instead of counting issues
It is costly to compute all issues, return the full list of all issues, only to
compute the length and display it.
Use proper issue_count field.

Closes #18858
2017-08-22 15:25:12 +02:00