status
stringclasses 1
value | repo_name
stringclasses 13
values | repo_url
stringclasses 13
values | issue_id
int64 1
104k
| updated_files
stringlengths 11
1.76k
| title
stringlengths 4
369
| body
stringlengths 0
254k
⌀ | issue_url
stringlengths 38
55
| pull_url
stringlengths 38
53
| before_fix_sha
stringlengths 40
40
| after_fix_sha
stringlengths 40
40
| report_datetime
unknown | language
stringclasses 5
values | commit_datetime
unknown |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | godotengine/godot | https://github.com/godotengine/godot | 70,402 | ["core/math/convex_hull.cpp"] | `ConvexPolygonShape3D` generates errors each time the points array changes. | ### Godot version
63f95c0e58e51ec2939e8b47803cb607fb35cadc
### System information
Windows 11
### Issue description
Using the following code:
```gdscript
extends StaticBody3D
@onready var shape_3d = $CollisionShape3D
func _ready():
var convex_shape = ConvexPolygonShape3D.new()
var points = PackedVector3Array()
points.append(Vector3(0, 0, 0))
points.append(Vector3(1, 0, 0))
points.append(Vector3(0, 0, 1))
points.append(Vector3(1, 0, 1))
convex_shape.points = points
shape_3d.shape = convex_shape
```
produces the correct result:

but generates unnecessary errors:

```
ERROR: Condition "p_new_capacity < capacity" is true.
at: OAHashMap<unsigned __int64,int,struct HashMapHasherDefault,struct HashMapComparatorDefault<unsigned __int64> >::)
ERROR: Condition "p_new_capacity < capacity" is true.
at: OAHashMap<unsigned __int64,int,struct HashMapHasherDefault,struct HashMapComparatorDefault<unsigned __int64> >::)
```
### Steps to reproduce
Check the attached project.
### Minimal reproduction project
[convex_polygon_test.zip](https://github.com/godotengine/godot/files/10278802/convex_polygon_test.zip)
| https://github.com/godotengine/godot/issues/70402 | https://github.com/godotengine/godot/pull/70403 | 0566afa041d9574ca502053f7492ac369a306819 | 186f6f0d874e830cc4597710eb0bab12a20bca20 | "2022-12-21T15:06:34Z" | c++ | "2022-12-21T17:29:38Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 34,612 | ["addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report.py", "addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report_view.xml"] | [12.0] Error in hr_timesheet_attendance pivot | Impacted versions:
12
Steps to reproduce:
install hr_timesheet_attendance, go to Timesheet->Reporting-> Timesheet Attendance
open one item in pivot

hit the first line

Current behavior:
Error raised
Expected behavior:
analytic line opened in form view
Video/Screenshot link (optional):
Error:
Odoo Server Error
Traceback (most recent call last):
File "/data/build/odoo/http.py", line 631, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/data/build/odoo/http.py", line 325, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/data/build/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/data/build/odoo/http.py", line 676, in dispatch
result = self._call_function(**self.params)
File "/data/build/odoo/http.py", line 357, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/data/build/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/data/build/odoo/http.py", line 350, in checked_call
result = self.endpoint(*a, **kw)
File "/data/build/odoo/http.py", line 894, in __call__
return self.method(*args, **kw)
File "/data/build/odoo/http.py", line 522, in response_wrap
response = f(*args, **kw)
File "/data/build/odoo/addons/web/controllers/main.py", line 948, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/data/build/odoo/addons/web/controllers/main.py", line 940, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/data/build/odoo/api.py", line 745, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/data/build/odoo/api.py", line 732, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/data/build/odoo/models.py", line 2840, in read
self._read_from_database(stored, inherited)
File "/data/build/odoo/models.py", line 2988, in _read_from_database
values = [convert(value, target, validate=False) for value in values]
File "/data/build/odoo/models.py", line 2988, in <listcomp>
values = [convert(value, target, validate=False) for value in values]
File "/data/build/odoo/fields.py", line 1670, in convert_to_cache
raise TypeError("%s (field %s) must be string or date, not datetime." % (value, self))
TypeError: 2019-07-01 00:00:00+00:00 (field hr.timesheet.attendance.report.date) must be string or date, not datetime. | https://github.com/odoo/odoo/issues/34612 | https://github.com/odoo/odoo/pull/34741 | b471ec98ed64403075ff6409be6359673b34d20c | 937acb53f6fe84912a04874ad35d18399286cbc5 | "2019-07-05T10:16:54Z" | python | "2019-07-10T10:19:47Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 27,958 | ["addons/website_links/static/src/js/website_links.js", "addons/website_links/views/website_links_template.xml"] | [11.0] Copy link from Link Tracker page do not work | Impacted versions:
11.0
Steps to reproduce:
- Go to website and click to promote>Track this page menu
- Click on the copy button

Current behavior:
The link is not copied
Expected behavior:
The link being copied
Video/Screenshot link (optional):
https://youtu.be/cjNIVXFG2j8
OPW 1896509
| https://github.com/odoo/odoo/issues/27958 | https://github.com/odoo/odoo/pull/28238 | 1916fdc1d00a1376c351aa5d62de37abb326bc9c | b4e310e7f621e067a406030a14257f32f4c5499e | "2018-10-19T00:30:40Z" | python | "2018-10-29T12:56:41Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 27,472 | ["addons/account_cancel/views/account_views.xml"] | [12] buttons on tree view not appears | **Impacted versions:**
12
**Steps to reproduce:**
Go to Bank statements, reconcile lines and must be appears button to revert reconciliation
_V11 work fine_

_V12 no buttons_

Button is on DOM but not is visible

_Note:_ I tested only on bank statement view, but I think is bug general on all tree views(not sure)
**Current behavior:**
**Expected behavior:**
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/27472 | https://github.com/odoo/odoo/pull/27473 | 9a0e63d9ac642f38a09cfc844e096ee6abc23f9b | e749d70fd981e196323919d060d1b883656877e4 | "2018-10-06T15:47:16Z" | python | "2018-10-06T16:09:53Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 26,366 | ["addons/web_editor/static/lib/summernote/src/js/EventHandler.js", "addons/web_editor/static/src/js/backend/fields.js"] | Problem with default focus in HTML fields at form views (no matter if default_focus is set to another field) | **Impacted versions:**
11.0
**Steps to reproduce:**
Go to any task form view.
**Current behavior:**
It focus the cursor in the description field (html widget).
**Expected behavior:**
It focus the cursor in the name field.
I have added a default_focus in the view for the name field so this way it focus name field.. but it does not work. Always focus html field no matter what.
NOTE: Only if i change the description field to widget="text" then the default_focus is applied
**Video/Screenshot link (optional):**
https://youtu.be/XzTgd8u2FHY | https://github.com/odoo/odoo/issues/26366 | https://github.com/odoo/odoo/pull/26582 | af27196fc52122edc1607772bf7f3ba82e039b26 | 7a453b0b7aea59e7f091daa65a69636de2a34d3b | "2018-08-13T21:12:42Z" | python | "2018-09-03T14:51:20Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 26,156 | ["addons/pad_project/models/project.py"] | [11.0] Access right issue on projects when a project user tries to create a task related to a project when module project_pad is installed | Impacted versions: 11.0
Steps to reproduce: On runbot,
- install pad_project module
- Change access rights on demo user to make him "project user"
- Connect on the same DB with demo user
- Create a task using form view with a project

- Save
Current behavior:
Access right issue

The errors comes from related field use_pads:

By doing this the project user tries to update the project but the project is only accessible in read access
Expected behavior:
The task should be created
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/26156 | https://github.com/odoo/odoo/pull/26171 | d32a5eddc850f482d0a88855462de5e5a0705223 | b122526666d6919804a0e3411aed5093b3593f33 | "2018-08-03T13:08:13Z" | python | "2018-08-08T13:42:13Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,840 | ["openerp/addons/base/ir/ir_qweb.py", "openerp/addons/test_converter/tests/test_html.py"] | Odoo11 - Negative amount shown as vertical bar in invoice line item | Impacted versions: Odoo 11 on windows server 2012
Steps to reproduce:
Create a new out invoice, select a product and set a negative amount for unit price.
Print the invoice.
Current behavior:
in PDF the char "-" is shown as "|" even if the total amount is correct (amount1 - amount2 = total)
Expected behavior:
the printed invoice should show the char "-"
Video/Screenshot link (optional):

this is the negative item on odoo:

| https://github.com/odoo/odoo/issues/25840 | https://github.com/odoo/odoo/pull/26019 | 2c5ec48f926be9aaf2c2f14e0177f0dee67d5348 | cb2a3afa7e010d1cd7a01c64f5c3ac58b6fd76d2 | "2018-07-18T10:55:51Z" | python | "2018-07-27T15:07:38Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,795 | ["addons/calendar/models/mail_activity.py"] | [11.0] Error accepting calendar invitation with empty description | Impacted versions:
11.0
### Steps to reproduce:
- ### Create a calendar event from a document (sale order, invoice, applicant ..)

- ### Edit it and add new guest

- ### Accept / Open the invitation from guest mail

### Current behavior:


Expected behavior:
Should render the invitation page.
http://348861-11-0-979b2e.runbot16.odoo.com
Replicated at http://runbot16.odoo.com/runbot/static/build/348861-11-0-979b2e/logs/job_30_run.txt
## The thing is that the event has to have a description in order to render correctly the invitation page.


Video/Screenshot link (optional):
OPW 1867283 | https://github.com/odoo/odoo/issues/25795 | https://github.com/odoo/odoo/pull/26115 | ea16b49e8ce3a7998b8d18d74f75a8c55720bd21 | efa7f87cc84d03eb40511b844a2109f377785979 | "2018-07-16T23:12:11Z" | python | "2018-08-06T07:31:06Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,446 | ["addons/point_of_sale/static/src/js/screens.js"] | [11.0] Exceptions are not handled well PoS Screen | Impacted versions: 11.0
Steps to reproduce: Generate Exception By Doing Some Operation on PoS Screen
Current behavior:
Enter Invalid Tax Id


Expected behavior: Better Visibility of Warning message
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/25446 | https://github.com/odoo/odoo/pull/25753 | 7d34f0218bf4ee04939e30c6101fb85323fccb71 | 9a3b0d70be37691bf283caaa51b6fc9f58dfb649 | "2018-06-22T18:39:24Z" | python | "2018-07-13T13:23:09Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,409 | ["addons/sale/models/sale.py"] | [11.0] Sales Analysis: wrong Amount Invoiced after creating credit notes | **Impacted versions:**
11.0
**Steps to reproduce:**
- Create a SO with two lines:
- - _LIne1_: Product: product50, Ordered Quantity: 1.000, Unit Price: 50.0
- - _Line2_: Product: product12, Ordered Quantity: 1.000, Unit Price: 12.0
- Confirm the SO
- Click on "Create Invoice" (choosing for example "Invoiceable lines")
- Validate the invoice
- Click on "Add Credit Note" (choosing for example "Create a draft credit note")
- Validate the Credit Note
- Go to Reporting->Sales and open the Pivot view
- Enable the following measures:
- - Amount Invoiced
- - Amount To Invoice
- Expand the rows by Product
**Current behavior:**
- Amount Invoiced for product12 is 50.0
- Amount Invoiced for product50 is 12.0
**Expected behavior:**
- Amount Invoiced for product12 is 0.0
- Amount Invoiced for product50 is 0.0
| https://github.com/odoo/odoo/issues/25409 | https://github.com/odoo/odoo/pull/25417 | 39f19d14f0d055f40db478ee18f7e8af9d4e480f | 85e8d13768399ceb1a1912fed39aa8ddca76676e | "2018-06-21T21:01:02Z" | python | "2018-08-06T07:52:04Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,363 | ["addons/crm/__init__.py", "addons/crm/__manifest__.py"] | [11.0] Could not Access Sales Channels report after Uninstalling CRM module | Impacted versions: 11.0
Steps to reproduce: Install Sales Management --> Install CRM--> Uninstall CRM --> Go to Sales/Reporting/Sales Channels
Current behavior:

File "/home/swapnesh/Workspace/11/odoo/modules/registry.py", line 179, in __getitem__
return self.models[model_name]
KeyError: 'crm.opportunity.report'
Expected behavior:
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/25363 | https://github.com/odoo/odoo/pull/25386 | f557f34b75b19b5c25e259e4cbacd729fec6c240 | 9ddf2c693282d28f996df8d665ca5b63f2fc107c | "2018-06-20T16:11:00Z" | python | "2018-06-22T07:18:51Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,078 | ["addons/website/models/ir_model.py"] | [11]Could not reinstall website module | Impacted versions: 11
Runbot Link: [http://334767-11-0-6ad1a3.runbot12.odoo.com/web?debug=1#view_type=kanban&model=ir.module.module&action=31](http://334767-11-0-6ad1a3.runbot12.odoo.com/web?debug=1#view_type=kanban&model=ir.module.module&action=31)
Steps to reproduce: Install module which has Website as Dependency (Survey)
Uninstall Website module --> Re-Install Website module
Current behavior:
```
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: website - website]
```
Expected behavior: Successful Installation
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/25078 | https://github.com/odoo/odoo/pull/25144 | 1ce25360955a0b198b8d06a12625bbeba8ceb1ae | b680dac3757422d2f9f59b3b26ada75daafe9661 | "2018-06-05T17:42:13Z" | python | "2018-06-11T07:45:20Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,029 | ["openerp/modules/registry.py", "openerp/service/server.py"] | [ir.cron] invalidate all cache and load modules for each calls for ir.cron | Impacted versions:
9.0, 10.0, 11.0 (Maybe 8.0)
I don't know if it is really an expected behaviour for odoo but I like to expose it
Steps to reproduce:
1. Open an ir.cron record and change it to:
- interval: minutes
- next execution date: now + 1 minute
2. Open the odoo server log
Note: I'm using workers=3 but I don't know if there is possible to reproduce it without workers.
Current behavior:
You will see for each cron execution the following output
```txt
...
2018-06-01 16:18:33,432 20686 INFO 333561-11-0-42aff9-all odoo.modules.registry: Invalidating all model caches after database signaling.
...
2018-06-01 16:17:21,527 20687 INFO 333561-11-0-42aff9-all odoo.modules.loading: loading 1 modules...
2018-06-01 16:17:21,535 20687 INFO 333561-11-0-42aff9-all odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries
2018-06-01 16:17:21,594 20687 INFO 333561-11-0-42aff9-all odoo.modules.loading: loading 206 modules...
2018-06-01 16:17:21,718 20687 INFO 333561-11-0-42aff9-all odoo.modules.loading: 206 modules loaded in 0.12s, 0 queries
2018-06-01 16:17:21,989 20687 INFO 333561-11-0-42aff9-all odoo.modules.loading: Modules loaded.
```
Expected behavior:
- Review if the method that run from the cron really requires a invalidate cache and delete all registries.
- Disable "minutes" for cron interval because all cache are deleted then is not valid use them.
Video/Screenshot link (optional):
- [](https://youtu.be/Be4FIeQjgjk) | https://github.com/odoo/odoo/issues/25029 | https://github.com/odoo/odoo/pull/25234 | 5233dbdb54ac03e52b991be0d0495b8a0a95b8c8 | 90165e2d96ac27dd1dbb2e367d47b8a38b7aea40 | "2018-06-01T16:44:38Z" | python | "2018-06-14T15:17:13Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 25,005 | ["addons/l10n_generic_coa/__init__.py", "addons/l10n_generic_coa/__manifest__.py"] | [11] Could not re-install account module | Impacted versions: 11
Steps to reproduce: Install account module --> Uninstall it --> Install again
Current behaviour:

Expected behaviour: Module should be installed
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/25005 | https://github.com/odoo/odoo/pull/25011 | 75c44c47787a2e6c6107fdebd7f39c409b1ddf9a | 661542a4a7b64d3e8d0de6331fdd94765c855faa | "2018-05-31T18:19:16Z" | python | "2018-06-04T09:30:49Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 24,958 | ["openerp/modules/loading.py"] | Index added by inheritance dropped during upgrade | **Impacted versions:**
Found in 9.0, reproduced in 9.0 and 11.0, I assume it happens on 10.0 as well.
**Steps to reproduce:**
The situation happens when you have a base addon declaring a Many2one field without index, another addon which adds an index to the field by extending it, then a third addon that extend the same model (no matter what it does). The second and third addon do not have any dependency between them.
Base addon:
```
class ResPartner(models.Model):
_name = 'res.partner'
country_id = fields.Many2one('res.country')
```
Addon adding the index, depends on 'base'
```
class ResPartner(models.Model):
_inherit = 'res.partner'
country_id = fields.Many2one(index=True)
```
Addon doing something else on res.partner
```
class ResPartner(models.Model):
_inherit = 'res.partner'
my_field = fields.Char()
```
Once all 3 addons are installed, there should be an index on `res_partner.country_id`. Now if an upgrade of the third addon is done, the index is dropped.
It can be reproduced with the code from this repository: https://github.com/guewen/odoo-issues-reproduct/tree/issue-index-drop-on-update
1. Install the addons
```
odoo --workers=0 --stop-after-init -i addon1,addon2
```
2. Check presence of the index
```
$ psql
# \d res_partner
Indexes:
...
"res_partner_country_id_index" btree (country_id)
```
3. Upgrade `addon1`
```
odoo --workers=0 --stop-after-init -u addon1
```
4. Check again the presence of the index
**Current behavior:**
The index is lost when an upgrade of the addon is done, as soon as there is an inherit of the same model and no dependency between the addons (addon1 and addon2).
It is because during the upgrade, when it reaches [this line](https://github.com/odoo/odoo/blob/12b11c1e6fe179abf988b1ff8c812fad08295215/odoo/fields.py#L900), the field is not yet flagged as `index=True`, because the other addon is not loaded yet. It probably depends of the order of loading then.
This is a dangerous behavior because it can go unnoticed. You add `index=True` in some addon, which get added properly, and suddenly removed when, later, you update (or install I guess) another addon.
**Expected behavior:**
The index is not dropped.
| https://github.com/odoo/odoo/issues/24958 | https://github.com/odoo/odoo/pull/25069 | 367fadc8d51f6169e2931270730357fdaed81986 | ea23a1ac8c6c68520f4f02a2f35ef7ab474b868a | "2018-05-29T11:05:31Z" | python | "2018-06-06T08:00:54Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 24,931 | ["addons/event/views/res_partner_views.xml"] | Error when trying to open contact with user without event permissions | Impacted versions:
- 11.0
Steps to reproduce:
- Log in with any user which has access to contacts and has no access to events.
- Go to contacts
- Open any contact
Current behavior:
The following error is shown:
> Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
> `-` Events/User
>
> (Document model: event.registration)
Expected behavior:
The user should be able to access any contact, because he/she has enough permissions to do so.
This error is caused by a recently introduced commit (https://github.com/odoo/odoo/commit/19878d011f8abdc737b7b702c4c79632670d4b78) which was intended to strengthen access rules for the event model.
Video/Screenshot link (optional):
Replicated in Runbot at: https://youtu.be/eh43-Zz4-MM
| https://github.com/odoo/odoo/issues/24931 | https://github.com/odoo/odoo/pull/25059 | 9d943f7a99cf45d1b17518350727bd4ab26fbd80 | 087dd851a2217da35e6151b227aa93cdfafce334 | "2018-05-26T22:57:57Z" | python | "2018-06-06T08:12:02Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 24,853 | ["addons/website_sale_wishlist/static/src/js/website_sale_wishlist.js"] | "Add to Cart" button causes bad query and create multi quotations | **Impacted versions:**
11.0c
**Steps to reproduce:**
1. Make sure the cart is empty and no existing quotation
2. Add some products to the wishlist
3. Go to the wishlist page
4. Add the products to the cart with the "Add to Cart" button quickly
ref: https://drive.google.com/file/d/1F92-bXEcI1XS8-BNa4rwwPZecXJGNyY0/view
**Current behavior:**
SQL errors occur (bad query) and multiple quotations are being created.
_Log from Odoo_
```
2018-05-23 03:32:59,190 23098 ERROR ttest odoo.sql_db: bad query: b'UPDATE "res_partner" SET "last_website_so_id"=119,"write_uid"=1,"write_date"=(now() at time zone \'UTC\') WHERE id IN (3)'
ERROR: could not serialize access due to concurrent update
2018-05-23 03:32:59,191 23098 INFO ttest odoo.service.model: SERIALIZATION_FAILURE, retry 1/5 in 0.0874 sec...
2018-05-23 03:32:59,785 23097 INFO ttest werkzeug: 127.0.0.1 - - [23/May/2018 03:32:59] "POST /shop/cart/update_json HTTP/1.1" 200 -
2018-05-23 03:32:59,978 23098 INFO ttest werkzeug: 127.0.0.1 - - [23/May/2018 03:32:59] "POST /shop/cart/update_json HTTP/1.1" 200 -
2018-05-23 03:33:00,259 23097 INFO ttest werkzeug: 127.0.0.1 - - [23/May/2018 03:33:00] "POST /shop/cart/update_json HTTP/1.1" 200 -
2018-05-23 03:33:00,868 23097 INFO ttest werkzeug: 127.0.0.1 - - [23/May/2018 03:33:00] "POST /shop/cart/update_json HTTP/1.1" 200 -
2018-05-23 03:33:01,382 23097 INFO ttest werkzeug: 127.0.0.1 - - [23/May/2018 03:33:01] "POST /shop/cart/update_json HTTP/1.1" 200 -
2018-05-23 03:33:05,984 23098 INFO ttest werkzeug: 127.0.0.1 - - [23/May/2018 03:33:05] "GET /shop/cart?type=popover HTTP/1.1" 200 -
```
_Log from PostgreSQL_
```
2018-05-23 03:32:59.188 UTC [23433] tslai@ttest ERROR: could not serialize access due to concurrent update
2018-05-23 03:32:59.188 UTC [23433] tslai@ttest STATEMENT: UPDATE "res_partner" SET "last_website_so_id"=119,"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (3)
```

**Expected behavior:**
There should be only one quotation be created.
**Further Background**
- The actions are performed with latest version of Chrome (66.0.3359.181)
- The commit version of Odoo: 77aa313b141b9b4c79fa8e24ed0984a9d5c955fe
- PostgreSQL Version: 9.6.5
| https://github.com/odoo/odoo/issues/24853 | https://github.com/odoo/odoo/pull/25527 | ef0907d5b0858efbf7702c78698d21fadf0149e7 | 8643175d00fb8ac418af15273cdbce32f9946c50 | "2018-05-23T03:49:16Z" | python | "2018-06-29T08:39:41Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 24,142 | ["addons/web/static/src/js/views/kanban/kanban_controller.js", "addons/web/static/tests/views/kanban_tests.js"] | [11.0] Traceback on closing Import Bank statement Wizard | Impacted versions: 11.0
Steps to reproduce: Tested on [Runbot](http://318824-11-0-b85656.runbot9.odoo.com/web?debug#view_type=kanban&model=account.journal&menu_id=287&action=385) --> Invoicing --> Dashboard --> Import Statement
Current behavior: On Cancel Button on Footrt or Pressing escape Button


Expected behavior:
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/24142 | https://github.com/odoo/odoo/pull/24163 | 5bb65170724dcd86cebd41a5b37509c6ed145ae6 | 33ba61bfdbdc1d9d986070c677f6bf18cbacf6b2 | "2018-04-09T18:32:05Z" | python | "2018-04-11T09:24:02Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,988 | ["addons/base_import_module/models/ir_module.py"] | Importing module with odoo studio is not updating the version | Impacted versions:
11.0 (saas)
Steps to reproduce:
- Create a simple module, ser version to 1.0
- Import it using odoo studio.
- Check the version (11.0.1.0)
- Change the version.
- Import it again (or even un-install it and install it again if you wish)
Current behavior:
- Version is yet 11.0.1.0
Expected behavior:
- Take the proper version from the module itself
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23988 | https://github.com/odoo/odoo/pull/24351 | 71862789f29752a39d1c1a0b25f76df74a975420 | adfec4256100c7bd5cafe8c213f2012f06d8166a | "2018-04-03T01:23:23Z" | python | "2018-04-23T07:58:24Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,963 | ["addons/web/static/src/js/widgets/debug_manager.js"] | [11.0] Uncaught TypeError: Cannot read property 'type' of undefined | Impacted versions:
11.0 Ubuntu nightly build
```javascript
> console.log(odoo.session_info.server_version);
11.0-20180329
```
Steps to reproduce:
1. Enter debug mode
2. Click the menu 'Open View' from Developer Tools
3. Search **tree** view (e.g. 'sale.order.tree') and click on it.
Current behavior:
The view is not displayed due to the following error.
```
Uncaught TypeError: Cannot read property 'type' of undefined
```
```
http://garnet:8069/web/static/src/js/chrome/view_manager.js:235
Traceback:
TypeError: Cannot read property 'type' of undefined
at Class.get_default_view (http://garnet:8069/web/static/src/js/chrome/view_manager.js:235:73)
at Class.init (http://garnet:8069/web/static/src/js/chrome/view_manager.js:122:34)
at Class.prototype.(anonymous function) [as init] (http://garnet:8069/web/static/src/js/core/class.js:90:38)
at new Class (http://garnet:8069/web/static/src/js/core/class.js:107:33)
at Object.widget (http://garnet:8069/web/static/src/js/chrome/action_manager.js:851:24)
at Object.<anonymous> (http://garnet:8069/web/static/src/js/chrome/action_manager.js:826:76)
at Object.<anonymous> (http://garnet:8069/web/static/lib/jquery/jquery.js:3276:89)
at fire (http://garnet:8069/web/static/lib/jquery/jquery.js:3119:58)
at Object.add [as done] (http://garnet:8069/web/static/lib/jquery/jquery.js:3165:49)
at Array.<anonymous> (http://garnet:8069/web/static/lib/jquery/jquery.js:3275:77)
```
Expected behavior:
The view specified is displayed without any error.
Video/Screenshot link (optional):

| https://github.com/odoo/odoo/issues/23963 | https://github.com/odoo/odoo/pull/24005 | f1a884e046dda1593fc4baeeeb9b27bd668936db | 26347fc7594ff96f4e26086dab0c636338de56cc | "2018-03-30T12:25:11Z" | python | "2018-04-04T07:45:54Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,919 | ["addons/point_of_sale/static/src/js/screens.js"] | [10.0] Creating customer in POS easily creates duplicates | Impacted versions: 10 community
Steps to reproduce: Create customer in POS clicking save button several times creates equally many customer cards without any sort of notification.
Expected behavior: Perhaps save button to be only clickable once after edit or even do Save and select as current client something?
Video/Screenshot link (optional):

| https://github.com/odoo/odoo/issues/23919 | https://github.com/odoo/odoo/pull/27886 | 22f0da809e84618901b7ca4b78582abd64c03c55 | 3008f7d254c95f200b9ca0e83eeee76557a9362a | "2018-03-28T12:18:49Z" | python | "2018-10-23T10:56:44Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,910 | ["odoo/addons/base/module/module.py"] | [BUG]App name cannot display localized name | Impacted versions:
10,11.0
Steps to reproduce:
Install a new database, the application name is the Chinese name, this is no problem.
After entering the developer mode and updating the application list, all module names have become English.
Even if I reload the translation, it has no effect.
Current behavior:
Expected behavior:
Video/Screenshot link (optional):

| https://github.com/odoo/odoo/issues/23910 | https://github.com/odoo/odoo/pull/24091 | 1735ac582c4640824d8ca3f635403f8ae3694662 | 6ee5b6fd6fe62db0c3bf8e6d5d7fb8052724589a | "2018-03-28T01:28:35Z" | python | "2018-04-09T07:22:11Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,659 | ["addons/website/views/website_templates.xml"] | [11.0] Webpage: Promote Page: Optimise SEO: Description: not editable | Impacted versions: 11
Steps to reproduce: think it came with latest git refresh because database created before dont have this problem.
Current behavior: The description box says "False" and is editable but does not save.
Page Title and Keyword work as expected
Expected behavior: Should save description for search engine
Video/Screenshot link (optional):

| https://github.com/odoo/odoo/issues/23659 | https://github.com/odoo/odoo/pull/23688 | 16631338739c5cea1f7bc7abaea8c9a0f6f0790b | 2b5bb95d430a8cfb3f6abb982f7402c33cdcc313 | "2018-03-14T15:06:06Z" | python | "2018-03-15T14:03:34Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,561 | ["addons/purchase/models/purchase.py"] | Wrong Fiscal position in multicompany | Impacted versions:
* 11.0
Steps to reproduce:
* Create company A
* Create company B
* Admin user with both companies but currently in company B
* Create Demo user only with company B
* Create fiscal position A to company A
* Create fiscal position B to company B
* Create vendor with fiscal position A with company A and the same vendor with fiscal position B in company B
* Create product and add the vendor created before
* Set like **Create a draft purchase order**
* Logging with Demo user
* Create sale order with one sale order line with route **make to order**
* Validate sale order
Current behavior:
The purchase order created by sale order has the fiscal position **company A**
Expected behavior:
The purchase order must have fiscal position **company B** | https://github.com/odoo/odoo/issues/23561 | https://github.com/odoo/odoo/pull/24448 | bcd4c90a71b5e3e1e23b0cc301fd7a1f830841af | feba353c655c2ddc0b8963756c8ba1e6b69362d8 | "2018-03-09T00:16:27Z" | python | "2018-04-26T14:29:34Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,530 | ["addons/sale/__init__.py", "addons/sale_margin/__init__.py", "addons/sale_margin/__manifest__.py", "odoo/modules/loading.py", "odoo/modules/registry.py"] | [11.0] Uninstalling pos_sale breaks Sale Channel report | Impacted versions: 11.0
Steps to reproduce: Uninstall pos_sale
Current behavior: Sale --> Reporting --> All Channels Sales Order

Expected behavior: Report should be there
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23530 | https://github.com/odoo/odoo/pull/23551 | 31a0bdec73adb09455e6a30a67d8ba23242b6787 | 84b6c46943f20b8dc77b390627fbfefa6a181327 | "2018-03-07T19:17:46Z" | python | "2018-03-13T08:41:43Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,529 | ["addons/sale/__init__.py", "addons/sale_margin/__init__.py", "addons/sale_margin/__manifest__.py", "odoo/modules/loading.py", "odoo/modules/registry.py"] | [11.0] Uninstalling hr_timesheet breaks Project's report Feature | Impacted versions: 11.0
Steps to reproduce: Uninstall hr_timesheet
Current behavior: Project --> Reporting --> Task Analysis

Expected behavior: Report Should be there.
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23529 | https://github.com/odoo/odoo/pull/23551 | 31a0bdec73adb09455e6a30a67d8ba23242b6787 | 84b6c46943f20b8dc77b390627fbfefa6a181327 | "2018-03-07T19:12:58Z" | python | "2018-03-13T08:41:43Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,528 | ["addons/sale/__init__.py", "addons/sale_margin/__init__.py", "addons/sale_margin/__manifest__.py", "odoo/modules/loading.py", "odoo/modules/registry.py"] | [11.0] Uninstalling sale_stock is breaking Sale module's feature | Impacted versions: 11.0
Steps to reproduce: Uninstall sale_stock module
Current behavior: Go to Sales --> Reporting -->Sales

Expected behavior: Report Should be there.
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23528 | https://github.com/odoo/odoo/pull/23551 | 31a0bdec73adb09455e6a30a67d8ba23242b6787 | 84b6c46943f20b8dc77b390627fbfefa6a181327 | "2018-03-07T18:49:29Z" | python | "2018-03-13T08:41:43Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,412 | ["addons/l10n_be_hr_payroll_fleet/views/res_config_settings_views.xml"] | [11.0] Fleet configuration is missing field to fill in value | Impacted versions: 11.0
Steps to reproduce: Go to `Fleet` > `Settings` and look at the new car request configuration option. The field to fill in a limit is missing in the view.

Current behavior: You can't configure the limit for "An employee cannot request a new car if there are more than x existing vehicles availables."
Expected behavior: Ability to fill in the configuration
| https://github.com/odoo/odoo/issues/23412 | https://github.com/odoo/odoo/pull/23517 | a2d554c0a55eb00002a22434606ffe0e48d3782b | cf3ed5e547653078e0e991dd6348a5e65dc9bb43 | "2018-03-01T14:26:45Z" | python | "2018-03-07T13:50:02Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,270 | ["addons/sale/__init__.py"] | [11.0] Uninstall sale will break accounting feature | Impacted versions: 11.0
Steps to reproduce: Go to Runbot --> Uninstall sale module --> Go to Contacts --> Open one ([Runbot link](http://305507-11-0-5ce76a.runbot13.odoo.com/web/?debug#view_type=kanban&model=res.partner&menu_id=72&action=93))
Current behavior: Traceback on screen
```
Traceback (most recent call last):
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/fields.py", line 936, in __get__
value = record.env.cache.get(record, self)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/api.py", line 960, in get
value = self._data[field][record.id][key]
KeyError: <odoo.api.Environment object at 0x7fccc20f0a58>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 647, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 689, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 933, in __call__
return self.method(*args, **kw)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/addons/web/controllers/main.py", line 930, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/addons/web/controllers/main.py", line 922, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/models.py", line 2535, in read
values[name] = field.convert_to_read(record[name], record, use_name_get)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/models.py", line 4675, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/fields.py", line 940, in __get__
self.determine_value(record)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/fields.py", line 1051, in determine_value
self.compute_value(recs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/fields.py", line 1007, in compute_value
self._compute_value(records)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/fields.py", line 998, in _compute_value
getattr(records, self.compute)()
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/addons/account/models/partner.py", line 294, in _invoice_total
self.env.cr.execute(query, where_clause_params)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/305507-11-0-5ce76a/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: relation "account_invoice_report" does not exist
LINE 3: FROM account_invoice_report account_invo...
^
```

Expected behavior: Should open Contact's form View
Video/Screenshot link (optional): | https://github.com/odoo/odoo/issues/23270 | https://github.com/odoo/odoo/pull/23286 | 3ac58d44c701c879f9eeb624d2a6e30299efe609 | 517b1d1faf97a8c4866a8bebcb13afa90f08771f | "2018-02-22T17:40:03Z" | python | "2018-02-23T15:06:03Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,214 | ["addons/sale_stock/models/account_invoice.py", "addons/stock_account/models/stock.py", "addons/stock_dropshipping/tests/__init__.py", "addons/stock_dropshipping/tests/test_stockvaluation.py"] | [account] Anglo Saxon Drop Shipping Broken by Previous Fix and Change to Stock | Three related problems with Drop Shipping with Anglo Saxon Accounting.
One has been broken since #20080.
Another is caused by the same code.
The third - a fix from #12687 - is being bypassed by current code.
Impacted versions:
11.0, and 10.0 for at least some of this
Steps to reproduce:
Set up a product with
- real time valuation
- standard price
- Anglo Saxon accounting
- drop shipping turned on
- invoicing on delivered quantities
Create a product with a standard price of $40.
Current behavior:
_If I create a sales order and choose to ship from existing stock, then the invoice created after delivery is correct, and it has the correct Anglo Saxon account moves._
- Dr COGS $40
- Cr Output $40
If I create a sales order and choose to drop ship, I can then go to the RFQ, and change the RFQ price to $45, then receive the product, and generate the Vendor Bill. Everything is correct at this point. When I go back to the Sales Order and create and validate the invoice, it has the incorrect Anglo Saxon account moves:
- Dr Output $45
- Cr COGS $45
Expected behavior:
The accounting should be the same on the invoice. The value is wrong, and the debits and credits are reversed.
Also, there should be an additional journal:
- Dr Output $40
- Cr Input $40
Th 3 problems are:
1. It is getting a -ve price unit from _compute_average_price because the stock move is not an outgoing move, but a supplier -> customer move!
2. It is getting the average price from those moves and using it, even if the product is using standard price.
3. The extra move that #12687 created is no longer being generated as the account moves are being bypassed entirely for dropshipping. Somewhere in the process, we need to move the value from stock_input to stock_output. This may be a v11 problem only.
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23214 | https://github.com/odoo/odoo/pull/23331 | 476b45eb9cec59c24f330ec7e784feaeca26f0ae | 6bcf9ac2ee3a52c9f0977d8cb4f4bf2cefe4ad70 | "2018-02-21T04:15:59Z" | python | "2018-03-05T15:16:05Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,171 | ["addons/auth_signup/models/__init__.py", "addons/auth_signup/models/ir_model_fields.py", "addons/sale/models/__init__.py", "addons/sale/models/ir_model_fields.py", "addons/website/models/ir_model_fields.py"] | [11.0] Uninstalling Signup module breaks General Settings | Impacted versions: 11.0
Steps to reproduce: Uninstall Signup module --> Go to General Settings --> Make a Change in Some Configuration --> Save

Current behavior: Traceback on Screen

Expected behavior: Should be able to Save Settings
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23171 | https://github.com/odoo/odoo/pull/23181 | ad1cceb4fbd2f054af647833bd34e4e06012bb6c | ff7efbb1e81cd6987601c03f0b75a37d2df8e331 | "2018-02-19T19:22:07Z" | python | "2018-02-23T09:28:10Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,121 | ["odoo/fields.py"] | [BUG] [ORM] cache copy on sudo does trail FailedValue items from unprivileged environment | 1. `copy_cache` in `models.py` recursively copies the caches to environment,
2. which in
```python
def _compute_related(self, records):
""" Compute the related field ``self`` on ``records``. """
others = records.sudo() if self.related_sudo else records
if records.env != others.env:
copy_cache(records - records.filtered('id'), others.env)
values = list(others)
for name in self.related[:-1]:
values = [first(value[name]) for value in values]
for record, value in zip(records, values):
record[self.name] = value[self.related_field.name]
```
3. copies failing cache values that have been produce previously by this line:
`models.py : def _prefetch_field()`
```python
try:
# THIS ONE
result = records.read([f.name for f in fs], load='_classic_write')
except AccessError:
# not all records may be accessible, try with only current record
result = self.read([f.name for f in fs], load='_classic_write')
```
I checked it's exactly the same `FailedValue` object, which is later accessed without intent (not refreshed) by the fact that the buggy environment is copied to sudo (and not refreshed).
| https://github.com/odoo/odoo/issues/23121 | https://github.com/odoo/odoo/pull/23122 | 3360c550ccc27137779ad3ad3d0463a6b3232736 | 231cae2e7f72774c8dfc20f549e3c8dc3bcb4cf6 | "2018-02-16T19:40:56Z" | python | "2018-03-12T09:14:01Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 23,096 | ["addons/purchase/models/stock.py", "addons/purchase/views/stock_views.xml"] | [11.0] Purchases created from Reordering Rules are not linked to that Rule | Impacted versions: 11.0
Steps to reproduce: Inventory --> Reordering Rules --> Purchases
Current behavior: If you create new PO from Reordering Rules It is not linked to that Rule

Expected behavior: It should be linked to Particular Rule or Creation of Po should not be allowed from there.
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/23096 | https://github.com/odoo/odoo/pull/23226 | c7526407ab4cf4c3d338f50a0259ac803e89f91f | 2c5022b4f33b1406736d0f9a0bee76942ba0bf7f | "2018-02-15T17:02:57Z" | python | "2018-02-28T14:36:27Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 22,922 | ["addons/mail/models/ir_model.py"] | [11.0] Odoo Studio breaks framework when creating fields with track_visibility | Impacted versions: 11.0 Enterprise atleast (V9 & 10 too probably)
Steps to reproduce:
1. Create a new database
2. Install the `purchase` module
3. Install the `odoo_studio` module
4. Activate developer mode
5. Go to purchases > purchase orders and create a draft purchase order. Then open up the studio and create a new monetary field. The new field should have the following settings:
- readonly
- required
- widget = monetary

6. Click on the "More" button and activate tracking for this field too:

7. Save all these changes and go back to the apps list. Now try to install another app, for example `project`. You'll now get a traceback:

Current behavior: You cannot install new modules or update existing modules anymore. The `track_visibility` breaks the framework.
Expected behavior: You can install new apps and update existing apps without any issues.
| https://github.com/odoo/odoo/issues/22922 | https://github.com/odoo/odoo/pull/23222 | dd184b26ace5561590bb1b4bdb34e1e8695661a6 | 1460ed08c9c177364d50d27a4f774a96d2a194fd | "2018-02-08T12:41:47Z" | python | "2018-02-21T12:27:02Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 22,900 | ["addons/hr_payroll/models/hr_payslip.py", "addons/resource/models/resource_mixin.py"] | [11.0] hr_payroll: error when create a payslip with a date_from in saturday and tz as Mexico_city | **Impacted versions:**
11.0
**Steps to reproduce:**
In runbot odoo/odoo or odoo/enterprise
- In Preferences change the timezone to America/Mexico_city
- Create a contract for a user with this values: **state**: running, **End Date**: NULL, **Start Date**: year before (for example), and **working schedule**: Standard 40 Hours/week

- Edit the working schedule as the image below, and save.

- Create a payslip for a user with the edited contract.
- Change the date_from (in period) to a saturday day

**Current behavior:**
Take this error

**Expected behavior:**
compute the number of days without error
**Video/Screenshot link (optional):**
https://youtu.be/fQWTg7LXD2g
| https://github.com/odoo/odoo/issues/22900 | https://github.com/odoo/odoo/pull/23263 | 58eea6b3b32a83748b0a960a64ae9fe65c550b7b | 5ce76a0e7099c7da21787d6cfb82d3305678bfe0 | "2018-02-07T22:18:42Z" | python | "2018-02-22T15:32:43Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 22,812 | ["addons/portal/static/src/js/portal_chatter.js"] | [11.0] Different time for message in Website Chatter and Backend | Impacted versions: 11.0
Steps to reproduce: Performed on [Runbot](http://300047-11-0-d130f2.runbot11.odoo.com/web#id=15&view_type=form&model=project.task&action=506) --> Go to My Account --> Task --> Log messge in chatter
Current behavior: Different time in Portal and Backend (Correct in Backend)


Expected behavior: Message time should same at both place
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/22812 | https://github.com/odoo/odoo/pull/23238 | 3ae382f8df28b3b7482325b147796b73b1e357eb | 97cae87812e60b63d61e09b5974c1e50c316de16 | "2018-02-05T17:28:55Z" | python | "2018-02-22T07:55:37Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 22,243 | ["addons/stock/__init__.py", "addons/stock/__manifest__.py"] | [11.0] Could not re-install Stock module | Impacted versions: 11.0-20180115
Steps to reproduce: Setup Odoo database with demo data loaded. And remove the `Purchase Management` and/or `Inventory Management` App. And try to install it again.
Current behavior: Installation is not possible anymore (crashes).
Inventory Management App gives:
```log
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 741, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 651, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1469, in _update
record = record.create(values)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3278, in create
record = self.browse(self._create(old_vals))
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3371, in _create
cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
psycopg2.IntegrityError: null value in column "location_id" violates not-null constraint
DETAIL: Failing row contains (4, OP/00001, t, 3, null, 5, 5.000, 10.000, 1.000, null, 1, 1, supplier, 1, 2018-01-15 16:28:33.469686, 1, 2018-01-15 16:28:33.469686).
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 927, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 934, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 922, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-39>", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 448, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 159, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='demo')
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 94, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 788, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 849, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 738, in parse
self.parse(rec, mode)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 748, in parse
exc_info[2]
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 741, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 651, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1469, in _update
record = record.create(values)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3278, in create
record = self.browse(self._create(old_vals))
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3371, in _create
cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
odoo.tools.convert.ParseError: "null value in column "location_id" violates not-null constraint
DETAIL: Failing row contains (4, OP/00001, t, 3, null, 5, 5.000, 10.000, 1.000, null, 1, 1, supplier, 1, 2018-01-15 16:28:33.469686, 1, 2018-01-15 16:28:33.469686).
" while parsing /usr/lib/python3/dist-packages/odoo/addons/stock/data/stock_orderpoint_demo.xml:6, near
<record id="stock_warehouse_orderpoint_1" model="stock.warehouse.orderpoint">
<field name="product_max_qty">10.0</field>
<field name="product_min_qty">5.0</field>
<field name="product_uom" ref="product.product_uom_unit"/>
<field model="stock.warehouse" name="warehouse_id" search="[]"/>
<field name="product_id" ref="product.product_delivery_02"/>
<!-- <field name="location_id" ref="stock.stock_location_stock"/> -->
</record>
````
Purchase Management App I get:
```log
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 147, in get_id
id = self.env.ref(full_xml_id).id
File "/usr/lib/python3/dist-packages/odoo/api.py", line 793, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1340, in xmlid_to_object
raise ValueError('No record found for unique ID %s. It may have been deleted.' % (xmlid))
ValueError: No record found for unique ID stock.stock_location_shop0. It may have been deleted.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 927, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 934, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 922, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-39>", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 448, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 159, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='demo')
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 94, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 786, in convert_file
convert_yaml_import(cr, module, fp, kind, idref, mode, noupdate, report)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 854, in yaml_import
yaml_interpreter.process(yaml_string)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 797, in process
self._process_node(node)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 808, in _process_node
self.process_record(node)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 314, in process_record
record_dict = self._create_record(model, fields, view_info, default=default, context=context)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 463, in _create_record
field_value = self._eval_field(model, field_name, fields[field_name], form_view, parent=record_dict, default=default, context=ctx)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 543, in _eval_field
value = self.get_id(expression)
File "/usr/lib/python3/dist-packages/odoo/tools/yaml_import.py", line 152, in get_id
tests that belong to a module's test suite and depend on each other.""" % (xml_id, self.filename))
ValueError: 'stock.stock_location_shop0' not found when processing /usr/lib/python3/dist-packages/odoo/addons/stock/data/stock_demo.yml.
This Yaml file appears to depend on missing data. This often happens for
tests that belong to a module's test suite and depend on each other.
```
Expected behavior: Installation of **any** Odoo App should always work (also with demo data).
| https://github.com/odoo/odoo/issues/22243 | https://github.com/odoo/odoo/pull/22265 | 3535904bce493e71217106f02795cab8b968f1d1 | 30db4cdd7511490d183fa084d5fff7bd9f34363a | "2018-01-15T16:36:00Z" | python | "2018-02-26T14:12:25Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 22,164 | ["addons/purchase/models/account_invoice.py"] | [10.0] Vendors Bills: changing the invoice date reset all prices and taxes changes | Impacted versions:
10.0
Steps to reproduce:
Take a Vendor Bill created based on a purchase order.
Change a price
Change the invoice date
Current behavior:
The price is reset to the purchase order line value.
Expected behavior:
The price should stay at the value set by the user.
**Please note that the taxes are also reset.**
Video/Screenshot link (optional):
https://youtu.be/B6FastTxSWc | https://github.com/odoo/odoo/issues/22164 | https://github.com/odoo/odoo/pull/22209 | aa875b08af2ede4a8a34850c335f954087284a66 | d8112b02387df0c0eff92d13e14259292b5ed0e9 | "2018-01-11T09:32:18Z" | python | "2018-01-15T07:47:05Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,905 | ["addons/website/models/__init__.py", "addons/website/models/ir_model.py", "addons/website/models/res_config_settings.py"] | Uninstalling website module blocks general settings | Impacted versions: 11.0
Steps to reproduce: Just test on [Runbot](http://289106-11-0-b95622.runbot13.odoo.com/web?debug=1#id=&view_type=form&model=res.config.settings&action=110&menu_id=4) --> Uninstall website module --> Go to the Configuration page for any module > Make any changes and save it.
Current behavior: [Odoo Server Error - Validation Error]

Even the field which was added by website module (website_id) is also not removed from the database.

Expected behavior: Configuration should be applied.
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/21905 | https://github.com/odoo/odoo/pull/21972 | fe22a0f9ca92ef0e76bb2f730a2b22da500db5dd | 9f583717e574795f8bd241fea44bad1a59253a66 | "2017-12-28T19:30:39Z" | python | "2018-01-03T13:53:44Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,898 | ["addons/theme_bootswatch/__openerp__.py", "addons/theme_default/__openerp__.py"] | [9.0] Deinstalling and reinstalling marketing campagne makes it impossible to choose website theme | Impacted versions: 9.0 (I've seen similar behaviour on 10.0 and 11.0 but haven't found a reproducable way yet)
Steps to reproduce:
1. Deinstall `marketing_campaign`
2. Reinstall `marketing_campaign`
3. After a few seconds you'll see the page to select your theme but it simply shows `False` and you can't choose a theme. You're also 'stuck' on this page:

**Note:** You can only do this once per database so be sure to test it on a clean runbot / test instance
Current behavior: You're stuck on the page and can't choose the theme.
Expected behavior: Either you're able to choose your theme (again) or Odoo skips the page.
| https://github.com/odoo/odoo/issues/21898 | https://github.com/odoo/odoo/pull/24042 | df3192ef87d07ab305169e0d0056bebabecf1314 | 9d95abd35c493a42c3e0065a5e1f317af7ec315e | "2017-12-28T12:46:16Z" | python | "2018-04-04T14:18:29Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,766 | ["addons/account/security/account_security.xml", "addons/stock/models/res_config_settings.py", "addons/website/security/website_security.xml"] | [11.0] Error in permissions while saving from invoicing | Impacted versions:
**11.0** AND **10.0**
Steps to reproduce:
1. Create a new user with all the permissions as manager(or at least accounting) except **Inventory**
2. Login and then go to **Invoicing** --> **Settings**
3. Do a minor change, save it and watch the error.
Current behavior:
If you are not manager at some configurations(say **Inventory**) you can't save the changes from invoicing.
Expected behavior:
To allow me to save the configuration from the accounting(that I'm manager) and don't throw errors from modules/permissions that I'm not interested in change(or didn't change at all)
[](https://youtu.be/WcwY--kOfvg "Video description")
| https://github.com/odoo/odoo/issues/21766 | https://github.com/odoo/odoo/pull/22046 | 4637bdf9bf1fa2644a048d5e586fc1b655a2940e | 81d1296323fdaeb88c37bde45f7443afd6ebd0ac | "2017-12-20T21:44:27Z" | python | "2018-01-09T12:19:33Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,686 | ["addons/stock_account/views/product_views.xml"] | [11.0] Decimal Precision ignored on fields with `widget=monetary` | Impacted versions:
11.0
Steps to reproduce:
Set decimal precision to be greater than 2 for some decimal accuracy and open some form that has that specific decimal accuracy used in a field with `widget="monetary"'` set. For example: set `Product Price` Decimal Accuracy to `6`. Then open product form. Both `Sales Price` and `Cost` will still show only precision of 2. Though you can see in a list view, that it has precision of 6, because in list view it does not have `widget="monetary"` used.
Current behavior:
Decimal precision is ignored when field is used with `widget="monetary"`.
Expected behavior:
Decimal precision must change with or without `monetary` widget. It is very confusing, because saved amount is correct, but when it is showed in form, it is incorrectly displayed.
| https://github.com/odoo/odoo/issues/21686 | https://github.com/odoo/odoo/pull/22015 | 5f3255be7f4c19d208bba7c3f149494bd1abf144 | 6a481dce1fc5cfceda97bc7cb03f8926d01d78b8 | "2017-12-17T16:06:03Z" | python | "2018-01-04T14:03:03Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,567 | ["addons/hr_payroll/models/hr_payslip.py"] | [11.0] When calculating the payroll, the value set in the field hr.payslip.structure_id is not used | **Impacted versions:**
11.0
**Steps to reproduce:**
- Create payslip
- Add a contract with any structure
- Add a structure in payslip, different from the one defined in step 2
- Confirm or compute sheet
**Current behavior:**
Payslip is computed using the contract structure
**Expected behavior:**
Payslip should be computed using the payslip structure
**FYI:** This is an issue because, sometimes, it's necessary to pay the employee using a structure different from their contract, e.g. in case of Christmas bonuses
**Video/Screenshot link (optional):**
[Video](https://www.youtube.com/watch?v=32H01n503uU&feature=youtu.be)
| https://github.com/odoo/odoo/issues/21567 | https://github.com/odoo/odoo/pull/21807 | ec520b871c113d2dbdf12702c6ce6f88e1d680f4 | 3a79d2cf2e02a2337b7dcc0a8a54dff32c6eb2b9 | "2017-12-11T14:41:06Z" | python | "2017-12-27T13:48:25Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,523 | ["addons/mail/static/src/js/many2many_tags_email.js"] | [usability] mail.compose.message wizard doesn't show email address of receipients | Impacted versions: 9.0, 10.0, 11.0
Steps to reproduce:
1) login to runbot as admin
2) go to the menu "Accounting > Customer Invoices"
3) select an invoice in "open" state with a partner that has an email address
4) click on the button "Send by Email"
5) In the "Recipients" field, there is only the name of the partner, not it's email address
-> This is really a problem, because we can't easily check the email address before sending the email
Code analysis:
In the name_get() of res.partner, it display the email next to the name if the 'show_email' key is present in context, cf https://github.com/odoo/odoo/blob/11.0/odoo/addons/base/res/res_partner.py#L593
In the mail.compose.message wizard, for the field partner_ids, the 'show_email' key is given in context:
https://github.com/odoo/odoo/blob/11.0/addons/mail/wizard/mail_compose_message_view.xml#L57
But it seems that the widget many2many_tags_email that is used for the partner_ids field is not using name_get()...
| https://github.com/odoo/odoo/issues/21523 | https://github.com/odoo/odoo/pull/21600 | d847a664157738fe896dc5636977489f2da2a7ff | b92aaf1e660d67c6b02974c9f059ca9026168e73 | "2017-12-08T09:04:36Z" | python | "2017-12-13T11:57:48Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,267 | ["openerp/addons/base/ir/ir_sequence.py"] | [10.0/11.0] Can not edit Sequence (Traceback on Screen) | Impacted versions: 10.0/11.0
Steps to reproduce: go to [http://281537-11-0-12c7d3.runbot8.odoo.com](http://281537-11-0-12c7d3.runbot8.odoo.com/web?debug=1?#id=12&view_type=form&model=ir.sequence&menu_id=38&action=22) --> Settings --> Sequences --> 'Account reconcile sequence'
Current behavior: Traceback during Saving record

Change Implementation to Standard and Save the record.

Expected behavior: Should Save the record
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/21267 | https://github.com/odoo/odoo/pull/21436 | 7a24a2f45f1d627f2f5978cda7e2fadbe41226e5 | 30d0861f0a9c9079c3c2222ca6d1b2a2e33469c2 | "2017-11-27T15:10:32Z" | python | "2017-12-13T07:51:05Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,252 | ["addons/account/models/account_move.py"] | [10][11] Wrong Account when creating journal entries with account searched in list view | Impacted versions:
At least version 10, version 11(Can only re-produce the problem sometimes)
Steps to reproduce:
Please see this screencast recorded on odoo runbot.
https://youtu.be/cSPQvp9jQJc
Current behavior:
When users search by account in Journal Entries List View. A special value "dummy_account_id" is set in context, in order to facilitate search by account on account.move level.
With this context value , when users create a journal entries, the system will add default value before the creation.
https://github.com/odoo/odoo/blob/fc69b37cf710623ea215cd085e998679d8c50985/odoo/models.py#L3802
This method will set "dummy_account_id" to the previously searched account in vals.
Then the system continue creating account.move and related account.move.line records.
It is fine until the system run this:
https://github.com/odoo/odoo/blob/fc69b37cf710623ea215cd085e998679d8c50985/odoo/models.py#L3830
Since "dummy_account_id" is related field, and it now has value. The system will change the first related account.move.line record to dummy_account_id.
Eventualy, the account is wrongly set to "dummy_account_id".
Expected behavior:
This is a feature which will fill the form field value with searched value for users. But the journal entry creation should not be affected by dummy_account_id, since it is only for searching purpose.
@Yenthe666 Would you please review this issue and help to bring related odoo staff to this issue? | https://github.com/odoo/odoo/issues/21252 | https://github.com/odoo/odoo/pull/21282 | 287516c1a93735b63adcb7b416e9410904c0934e | b2c321fd1f86a8cb6329e75e6306a657caf17987 | "2017-11-27T08:31:54Z" | python | "2018-02-28T11:02:03Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,246 | ["addons/sale_stock/tests/test_sale_stock.py"] | float_round of 3.0 breaks with precision at 5 - and can break Odoo test suite of sale_stock | Impacted versions:
**11.0**
Steps to reproduce:
Install a new db with demo data, and sale_stock module. Set rounding for product unit of measure from 3 to 5. Run sale_stock tests (from command line with --test-enable)
Current behavior:
> FAIL: test_02_sale_stock_return (odoo.addons.sale_stock.tests.test_sale_stock.TestSaleStock)
>
> AssertionError: 3.0000000000000004 != 3.0 : Sale Stock: delivered quantity should be 3.0 instead of "3.0000000000000004" after picking return
>
At the lowest level, it appears that float_round is called by convert_to_cache.
- **float_round(3.0, precision_digits=x) == 3.0**, if x is 1, 2, 3, 4, 6, 7, 8, 9, 10
- **float_round(3.0, precision_digits=5) == 3.0000000000000004**
| https://github.com/odoo/odoo/issues/21246 | https://github.com/odoo/odoo/pull/22017 | 6a481dce1fc5cfceda97bc7cb03f8926d01d78b8 | e441f348baf4e05e3aab5db43456e7cc0c14bb3a | "2017-11-27T02:44:59Z" | python | "2018-01-04T15:17:01Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,210 | ["addons/sale/views/sale_views.xml"] | Error when adding an extra service product on a new salesorderline (in an existing sales order) | Impacted versions: 11 CE, tested on the odoo runbot environment
Steps to reproduce:
- Create a service product (X)
- Add product X on quotation Y
- Validate quotation Y to Sale order Z
- Add product X again on the Sale order Z
- Save Sale order Z, You get an error:
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: product_id - product.id]
This error only occurs if you do **not** use the view 'sale.view_order_form_editable_list'.
This means that you don't get the pop-up when adding a new product.
| https://github.com/odoo/odoo/issues/21210 | https://github.com/odoo/odoo/pull/21211 | 31e574b153774bbfb8dc6eada06d8b48b99794a4 | 63623cbdcbdbca558418511474069fe390d4aa90 | "2017-11-24T15:37:35Z" | python | "2017-11-27T07:58:25Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 21,039 | ["odoo/addons/base/res/ir_property.py"] | [11.0] Fields order in write() method for company_dependent fields | **Impacted versions:** 11.0
**Steps to reproduce:**
Add a bunch of `company_dependent` fields on `res_bank`:
```
class ResBank(models.Model):
_inherit = "res.bank"
cpa_add_routing_record = fields.Boolean(company_dependent=True)
cpa_short_name = fields.Char(company_dependent=True, size=15, default='A NAME')
cpa_client_number = fields.Char(company_dependent=True, size=10)
cpa_file_creation_number = fields.Integer(company_dependent=True, default=1)
cpa_test_record_allowed = fields.Boolean(company_dependent=True, default=True)
cpa_institutional_id_number_for_returns = fields.Integer(company_dependent=True, size=9)
cpa_account_number_for_returns = fields.Char(company_dependent=True, size=12)
cpa_processing_center = fields.Selection([
('81510', "A"),
('278', "B"),
], company_dependent=True)
```
Then add a constrain:
```
@api.constrains('cpa_processing_center', 'cpa_account_number_for_returns')
def _check_cpa_account_number_for_returns_for_desj(self):
if self.cpa_processing_center == '81510' and not self.cpa_account_number_for_returns:
raise ValidationError("boom")
```
Run this test class:
```
class TestResBank(tests.TransactionCase):
def setUp(self):
super(TestResBank, self).setUp()
self._createBankJournal()
def _createBankJournal(self):
self.bank = self.env['res.bank'].create({
'name': 'ING',
'cpa_file_creation_number': 22,
'cpa_client_number': '0385910000',
'cpa_short_name': 'Sartigan',
'cpa_processing_center': '278',
'cpa_add_routing_record': True
})
def testConstrains_order_1(self):
"""Passes"""
self.bank.write({
'cpa_institutional_id_number_for_returns': 918283746,
'cpa_account_number_for_returns': '98765h',
'cpa_processing_center': '81510',
'cpa_add_routing_record': False,
})
def testConstrains_order_2(self):
"""Fails!"""
self.bank.write({
'cpa_processing_center': '81510',
'cpa_add_routing_record': False,
'cpa_institutional_id_number_for_returns': 918283746,
'cpa_account_number_for_returns': '98765h',
})
```
**Current behavior:**
The first test passes but the second one fails
**Expected behavior:**
Both tests pass
**More details:**
- The two tests are essentially identical except the order of the fields in the write method is different.
- I believe the order should not matter.
- The problem does not happen if company_dependent is removed from all fields
- I think the constrain is trigerred before all fields are set
Here's a module I made solely to trigger the bug:
[model_constrains.zip](https://github.com/odoo/odoo/files/1482451/model_constrains.zip) | https://github.com/odoo/odoo/issues/21039 | https://github.com/odoo/odoo/pull/21269 | 1f971ce252815df5ff316cd553ac9f771981d155 | 598d54527a019ad58dbcfd833cfdd4ff8959a675 | "2017-11-17T13:49:58Z" | python | "2017-12-07T08:41:28Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,956 | ["addons/resource/models/resource_mixin.py"] | Duplicating workcenters leads to duplicate names (the new one) | Impacted versions: 11.0 the issue is probably in community but shows only in enterprise
Steps to reproduce:
In enterprise runbot
Go to workcenters and click into "Drill Station 1"
Click Duplicate
Change name to "Drill Station Why is there two of you now?" or similar
Return to list view
Current behavior:
Both names change
Expected behavior:
Only the new one changes
Video/Screenshot link (optional):

| https://github.com/odoo/odoo/issues/20956 | https://github.com/odoo/odoo/pull/21040 | 73e4dacf78a840acbd2bac1dc42ae790f58225aa | d7d9603f1bc9d7200a7954880dc9c82fd6369be7 | "2017-11-15T08:13:05Z" | python | "2017-11-20T08:19:07Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,913 | ["addons/stock_account/models/stock.py"] | Issue in wrong reference being assigned when Validating Picking | Hi Team,
I was testing and created a Picking for Goods Return, however, when I did that, following error was created:

I checked and found that in the code instead of account.move, stock.move object was referenced.

Please advice.
Regards
| https://github.com/odoo/odoo/issues/20913 | https://github.com/odoo/odoo/pull/21298 | c7cc59e20dc846b81a1324b012d826e8f01d2ba8 | e56d91be29bdd7baca0bf003db8bc50e8ea7b3c3 | "2017-11-13T20:21:22Z" | python | "2017-11-28T15:17:54Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,821 | ["addons/website_form/static/src/js/website_form.js"] | Make it easy to add load asynchronously qweb2 js templates | Impacted versions: 9+
Current behavior:
When you want to add a qweb template in JS, you usually do:
```js
qweb.add_template("/path/to/file.xml");
```
This is the common pattern, and it makes the load in sync mode, which blocks the UI. **Bad pattern**
https://github.com/odoo/odoo/blob/053209fb0eeb3f7b6de46ee8887fbf3e2df0b60e/addons/web/static/lib/qweb/qweb2.js#L237-L243
You can load templates asynchronously with this code:
```js
var def = $.Deferred();
qweb.add_template("/path/to/file.xml", function (error, template) {
if (error) {
def.reject();
} else {
def.resolve(template);
});
```
There you have then a deferred that resolves when the template is loaded. However, it's hard to use, that's why it isn't the common pattern.
Expected behavior:
qweb should provide a helper, such as `core.qweb.add_template_async()` that returns a deferred object, making it easy to do it the right way.
cc @ged-odoo @Tecnativa | https://github.com/odoo/odoo/issues/20821 | https://github.com/odoo/odoo/pull/22330 | 094c735f005f183b5a2b6ec7d803bba4516e9bd9 | a92eba42b814f26a170d7a45ae74f14ad5dc955a | "2017-11-09T10:51:55Z" | python | "2018-01-18T10:43:53Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,760 | ["addons/point_of_sale/static/src/js/screens.js"] | [10.0] User can bypass POS pincode by using a barcode scanner | Impacted versions: Atleast 10.0
Steps to reproduce:
1. Create a second user with access to the point of sale and set a POS pincode and barcode on the user. For example:

2. Open the point of sale with your main user (in my case administrator). Click on the top to change from user and choose your second user (Test in my example). You will now get the pincode screen:

This all works fine.
3. Now take a barcode scanner and scan the barcode for the other POS user (Test), you will be automatically switched to the other user, without the pincode.
Current behavior: You can switch from one POS user to another by simply scanning the other user his barcode. The pincode is not asked anymore by Odoo.
Expected behavior: You can switch from one POS user to another by scanning the other user but you still need to enter the pincode. | https://github.com/odoo/odoo/issues/20760 | https://github.com/odoo/odoo/pull/21191 | fc69b37cf710623ea215cd085e998679d8c50985 | a1e302651218d85939dad30d08a672eb1540dea4 | "2017-11-07T13:37:09Z" | python | "2017-11-27T08:39:28Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,720 | ["odoo/addons/base/module/module.py"] | [11.0] ERROR: null value in column "module_id" violates not-null constraint when deleting module | Impacted versions: 11c, 11e
Steps to reproduce: Install module, uninstall it, then go to action choise delete module (tested with some module: Automated Translations through Gengo API, Vietnam - Accounting...)
Current behavior:
Popup error:
```
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Module Uninstallation - base.module.uninstall]
```
--
logs:
```
ERROR: null value in column "module_id" violates not-null constraint
DETAIL: Failing row contains (1, t, null, 1, 2017-11-06 09:26:04.803957, 1, 2017-11-06 09:26:04.803957).
CONTEXT: SQL statement "UPDATE ONLY "public"."base_module_uninstall" SET "module_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "module_id""
```
If module is not installed before, no error occurs
Expected behavior: the module should delete normally | https://github.com/odoo/odoo/issues/20720 | https://github.com/odoo/odoo/pull/21111 | 0831610d6af8835c25102c04295096594e9d4907 | 31ba0fb41b5b468558e10acff096dfbbf2b720cd | "2017-11-06T09:45:08Z" | python | "2017-11-21T10:13:24Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,405 | ["addons/web/static/src/js/action_manager.js"] | [10.0] Discard test dialog triggers cannot get property error | Impacted versions: 10.0
Steps to reproduce:
1. Click on "Tests"
2. Click on "Discard" when the wizard opens:

Current behavior: Uncaught TypeError: Cannot read property 'get_nb_views' of null
Expected behavior: Wizard closes without errors.
| https://github.com/odoo/odoo/issues/20405 | https://github.com/odoo/odoo/pull/21792 | 262bec6af53fe2cf7108faa8ec7d6bbfb67d89d6 | 1ce4f15c39b7b242af61705850112cd85bc9febf | "2017-10-24T06:01:03Z" | python | "2017-12-22T15:34:06Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 20,148 | ["requirements.txt"] | Error installing ebaysdk - pip requiriments | When trying to install the requirements, ebaysdk does not conclude.
root@6c39e9c357bd:/# pip3 --no-cache-dir install ebaysdk
Collecting ebaysdk
Downloading ebaysdk-2.1.4.tar.gz (40kB)
100% |################################| 51kB 47kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-ybr869ll/ebaysdk/setup.py", line 26, in <module>
open(VERSIONFILE, "rt").read(), re.M).group(1)
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 29: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ybr869ll/ebaysdk/
| https://github.com/odoo/odoo/issues/20148 | https://github.com/odoo/odoo/pull/20182 | 2e6f25580e1d50ec7176b29bb6ca5ae249cd248a | 4f0d6f5ae162c0263acb7fac64350577595b22a9 | "2017-10-13T19:38:11Z" | python | "2017-10-16T07:06:38Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 19,846 | ["README.md"] | [11.0] Documentation links give 404 page | Hi,
Links for documentions in master branch are in 404 error :/
Can you put good links in the project ?
Thanks a lot !!!
| https://github.com/odoo/odoo/issues/19846 | https://github.com/odoo/odoo/pull/19910 | 7081a55cb459e02d7846d387847226a58c0604b0 | fb0ee4115837b71e456a97bed705db52b80cc444 | "2017-10-02T23:31:40Z" | python | "2017-10-06T10:14:31Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 19,698 | ["addons/stock/report/report_location_barcode.xml"] | Master - Location Barcode Report only prints last four locations | Impacted versions: Master
Steps to reproduce:
Login to runbot as Admin
Go to Inventory Locations
Select all locations from default view
Print Location Barcodes
Current behavior:
Only the last 4 print.
Expected behavior:
They all print
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/19698 | https://github.com/odoo/odoo/pull/24098 | 5eb6e14e85f887e7387e1eca7b4c945c91a11e80 | ef2646ae9d9e93147fb4364b201418cf4b76018a | "2017-09-25T21:40:44Z" | python | "2018-04-06T16:17:56Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 19,536 | ["addons/sale_stock/models/sale_order.py"] | [10.0]Very big performance issue with onchange | ### Impacted versions:
10.0
### Steps to reproduce:
1/ Install a database with sale_stock module
2/ Initialize some data with this script to run through shell command:
```python
# -*- coding: utf-8 -*-
import logging
_logger = logging.getLogger(__name__)
self = self # noqa
# Install a language
wizard = self.env['base.language.install'].create({
'lang': 'fr_BE'
})
wizard.lang_install()
# Product creation
nb_product = 5000
i = 0
while i < nb_product:
prod = self.env['product.template'].with_context(
tracking_disable=True, lang='fr_BE').create({
'name': 'product_%s' % i,
})
i += 1
if i % 1000 == 0:
self.env.cr.commit()
_logger.info("%s Products Created" % i)
# Add a lot of fake translations
cpt = 200000
values = []
cr = self.env.cr
while cpt:
cpt -= 1
values.append(
cr.mogrify(
"(%s, %s, %s, %s)", (
'fr_BE',
'product.template,name',
'translated',
'%s' % cpt)
)
)
_logger.info('Create %d fake translations' % len(values))
self.env.cr.execute(
"""
INSERT INTO ir_translation (lang, name, state, value) VALUES
""" + ','.join(values))
_logger.info('%d fake translations created' % len(values))
# Update stock
i = 0
for product in self.env['product.product'].search([]):
self.env['stock.quant'].sudo().create({
'product_id': product.id,
'location_id': self.env.ref('stock.stock_location_stock').id,
'qty': 1.0
})
i += 1
if i % 1000 == 0:
self.env.cr.commit()
_logger.info("%s Quants Created" % i)
```
3/ / Run the following code through shell command with log_level=debug_sql:
`odoo shell -d odoo-tmp -c odoo.cfg --log-level=debug_sql < test.py &> log.txt`
This script
* add a new field `x_product_virtual_available` on `sale.order.line`. This field is a related on `product_id.virtual_available`. (Our users want to see the Forecast quantity on the sale.order.line)
* simulate a call to onchange from the browser on the model `the sale.order` for the field `order_line`. Our so is a new SO with 20 lines.
```python
# -*- coding: utf-8 -*-
import logging
import random
import time
_logger = logging.getLogger(__name__)
partner = self.env.ref('base.res_partner_1')
# create a in memory SO
order_line =[]
sale_order = self.env['sale.order']
so_values = {
'partner_id': partner.id,
'partner_invoice_id': partner.id,
'partner_shipping_id': partner.id,
'order_line': [],
'amount_total': 0,
'amount_tax': 0,
'amount_untaxed': 0,
'order_line': order_line
}
original_so = sale_order.new(so_values)
sale_order_line_model_id = self.env['ir.model'].search([('model', '=',
'sale.order.line')])
# add a related on sale.order.line to product_id
if not self.env['ir.model.fields'].search([('name', '=', 'x_product_virtual_available')]):
self.env['ir.model.fields'].create({
'name': 'x_product_virtual_available',
'ttype': 'float',
'related': 'product_id.virtual_available',
'required': False,
'readonly': True,
'model_id': sale_order_line_model_id.id,
'store': False,
})
user_demo = self.env.ref('base.user_demo')
self = self.sudo(user_demo.id).with_context(lang='fr_BE') # noqa
onchange_specs = sale_order._onchange_spec()
print onchange_specs
onchange_specs['order_line.x_product_virtual_available'] = 0
NB_PRODUCT = 5000
STEP = 20
MAX_LINES = 20
i = 0
while i < MAX_LINES:
if i % STEP == 0:
# add lines
for p in range(STEP):
x_product_name = 'product_%s' % random.randint(0, NB_PRODUCT)
p = self.env['product.product'].search([('name', '=', x_product_name)])
order_line.append(
(0, 0,
{'name': p.name,
'product_id': p.id,
'product_uom_qty': 2,
'product_uom': p.uom_id.id,
'price_unit': p.list_price,
'x_product_name': '',
'price_unit': 10,
'price_total': 10,
'price_subtotal': 10,
'product_uom': self.env.ref('product.product_uom_unit').id})
)
# we work on a temporary record
start_time = time.time()
res = original_so.onchange(so_values, 'order_line', onchange_specs)
elapsed_time = time.time() - start_time
_logger.info('On change with %s lines took %.3f' % (len(
order_line), elapsed_time))
i+=1
```
4/ Takes a look into the `log.txt`file .......
### Current behavior:
Our related products on the line are read one by one and the compute of `virtual_available` is also done one by one.
### Expected behavior:
Our related products on the lines are read all at once and the compute of `virtual_available` is done for all the products at once.
For our customer, the screen to create a new sale order becomes unusable beyond about twenty new lines because we have to show him an information that takes 0.5 sec to be computed.This compute is called up for each line and not for all products at once.
| https://github.com/odoo/odoo/issues/19536 | https://github.com/odoo/odoo/pull/25523 | 10253a735f8296fbb42c311ebc36e2fe4bf1f135 | fa1f0502180338cb2fd614c1efae7548d8e0c959 | "2017-09-18T13:55:45Z" | python | "2018-06-28T11:24:15Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 19,527 | ["addons/mrp/models/mrp_production.py"] | [BUG] MRP: Producing twice the products with half the raw materials | Impacted versions:10.0
Steps to reproduce: Create a BOM type kit and add a route, then create another that includes the the last type and also add a route.
Current behavior: Create a MO for this last one and run the steps,it will produce 2 finished products consuming only half the raw materials
Expected behavior: Create a MO for this last one and run the steps,it should produce 1 finished product.
Video/Screenshot link (optional):
https://youtu.be/FiBr4g4V14U
| https://github.com/odoo/odoo/issues/19527 | https://github.com/odoo/odoo/pull/28147 | 299c6dd3b474272940904ddc7b8917475574e160 | 9647620a91a0c8597eff0dd4361f8a2b8e0997ed | "2017-09-18T10:35:10Z" | python | "2018-10-25T12:58:43Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 19,274 | ["addons/account/models/partner.py", "addons/base_vat/models/res_partner.py"] | [10.0]Unable to reconcile payments in a multi-company context | # Impacted versions:
10.0
# Steps to reproduce:
Create 2 companies:
- Company A and check VIES VAT Check
- Company B and do not check VIES VAT Check
Set current company of admin user to Company A and do not allow Company B
Create a demo user on Company B and give him Adviser group in Accounting.
Log in with the demo user.
Create a Customer A as a company with:
- country = Spain
- TIN = 85847955H
Create a contact on Customer A: "Contact Sample"
Create a Customer invoice on "Contact Sample" partner
Through the menu Accounting/Payments, create a new payment on "Contact Sample" partner with the total amount of the invoice.
Open the menu Manual Payments and invoicing matching. The invoice and the payment should be proposed for reconciliation. Do CTRL+ENTER.
# Current behavior:
An error message appears: The VAT number [85847955H] for partner [Contact Sample] either failed the VIES VAT validation check or did not respect the expected format ESA12345674.
# Expected behavior:
This message should not appear as the current user is on Company B which doesn't have the flag "VIES VAT Check" checked.
| https://github.com/odoo/odoo/issues/19274 | https://github.com/odoo/odoo/pull/19421 | 6318ff667504ead9eeec286f319ea1fc49f34f4e | 7f356d66538d52ddb650b9d7a485c2062c490d4d | "2017-09-05T13:02:35Z" | python | "2017-09-12T16:27:33Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 19,044 | ["addons/hr_expense/security/ir_rule.xml"] | [10.0] It's possible to delete a paid expense report ... | Impacted versions:
10.0
Steps to reproduce:
See https://youtu.be/HvD6gblBKxA
Current behavior:
It's possible for a simple employee to remove a paid expense report. After that, the related expenses return in "To submit" status.
Expected behavior:
It shouldn't be possible the remove expense report in this state (and other !)
Video/Screenshot link (optional):
See https://youtu.be/HvD6gblBKxA
| https://github.com/odoo/odoo/issues/19044 | https://github.com/odoo/odoo/pull/19075 | 22eb3ee971bb6e0ee5a13ba2c347cf2e3c2984fb | c478e94450374176f0dcb97f1fa3d71b8d3dbd93 | "2017-08-24T15:11:30Z" | python | "2017-08-28T11:30:10Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,995 | ["addons/auth_oauth/views/res_config_settings_views.xml", "addons/base_setup/models/res_config_settings.py", "addons/base_setup/views/res_config_settings_views.xml"] | [TERMINOLOGY] Authentification is not the usual English word | Impacted versions: Master - probably all
Steps to reproduce:
Go to Settings Screen
Current behavior:
You'll see Authentification written twice. In English, and especially in English technology speak the usual word is Authentication.
The only real issue it causes is that when searching for docs, you would search for Authentication (e.g. "How do I setup Oauth Authentication with provider x?"
Expected behavior:
Video/Screenshot link (optional):

Seems it occurs 4 times in code, but didn't want to PR as I don't understand translations

FIx if you want, close if you want, I won't be offended and can manage
| https://github.com/odoo/odoo/issues/18995 | https://github.com/odoo/odoo/pull/20095 | 38fbf04183f750c51b71ff14bf47a9a7bd4c9150 | 1ea19d8bad1f90713ac14771acd601c196c05ac1 | "2017-08-22T22:17:59Z" | python | "2017-10-13T07:28:13Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,994 | ["addons/web_calendar/static/src/js/web_calendar.js"] | moment._locale & moment._locale._week | Hello,
in my ODOO 10 when I try open calendar APP I am getting different errors in different web browsers:
Mozilla:
TypeError: moment._locale is undefined
Safari:
TypeError: undefined is not an object (evaluating 'moment._locale._week')
Chrome:
Uncaught TypeError: Cannot read property '_week' of undefined
but in odoo.log no any errors, what is happened?
| https://github.com/odoo/odoo/issues/18994 | https://github.com/odoo/odoo/pull/19864 | eb7a098592294425e7f229fca080ae15f56c3317 | df124080b624a8bdb86fec352fe690725ed36bac | "2017-08-22T16:58:29Z" | python | "2017-10-12T10:33:11Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,943 | ["addons/account/models/chart_template.py", "addons/account/models/res_config_settings.py", "addons/account/views/res_config_settings_views.xml"] | [11.0] Shared fields in accounting account settings | **Impacted versions:** 11.0
**Steps to reproduce:**
- Configures a user with access to several companies

**Current behavior:**
- In the accounting configuration there is shared field displayed by defects for the sales tax account and purchase tax account

**Expected behavior:**
The value of those fields depends on the company. The users that belong to different companies may see by default different values for the field on a given record
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/18943 | https://github.com/odoo/odoo/pull/21327 | 82364a2d73f38c89dfd2f0637557d347f6ecb4cc | a9ede7fdfa0cec06d8bdc31b26e7549959c256d4 | "2017-08-19T17:00:51Z" | python | "2017-11-30T11:15:48Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,682 | ["addons/product/models/product_template.py"] | [10.0] adding product attributes reset variant customizations | <h1>Enterprise Support Ticket Reference:</h1>
<h3>762743</h3>
<h1>Impacted Versions:</h1>
- 10.0
- Master
<h1>Steps to Reproduce:</h1>
1. Create an attribute with create_variant boolean un-ticked (ie. don't create variants from these attributes). For example 'Test Attribute'
2. Create attribute values related to the above attribute. For example 'Test 1', 'Test 2', etc
3. Create a product (product.template) and assign some attributes and attribute values that will create variants (eg. in runbot try color, and memory)
4. Assign a default_code and barcode to each of those variants
5. On one of the product variants, add one of the attribute values for the attribute we've created in step 2 to the attribute_value_ids field to allow for filtering by product attributes that do not create variants (for example these attributes will provide a specification that is not necessarily configurable).
6. Create a purchase order for this product variant and receive the product into inventory (eg. purchase one unit).
7. Go back to product template and add another attribute value to an attribute where create_variant == True
8. Our value from attribute_value_ids is gone, and the inventory is no longer visible on the product variant in question.
<h1>Current Behaviour:</h1>
- Product variant is not retaining additional attribute_value_id's for attribute values with an attribute where create_variant == False
- In this scenario a product seemingly vanishes from inventory (from the user's perspective at least)
- Filters are lost on those attributes and attribute values where create_variant == False
<h1>Expected Behaviour:</h1>
- Product variants should retain their attribute_value_ids for attribute values with an attribute where create_variant == False even after additional variants are created by adding attribute values to attributes where create_variant == True
- In the same way, the product variants where these attribute_value_ids with create_variant == False are assigned should stay visible in inventory as the attribute_value_ids should retain those attribute values where create_variant == False
- Filters for attributes where create_variant == False should remain in place on the e-commerce website
<h1>Video/Screenshot link (optional):</h1>
Please see the following youtube video for reference:
<a href="https://youtu.be/JNqpYKxZkPo">https://youtu.be/JNqpYKxZkPo</a>
The example scenario, and video has been tested on the latest version 10.0c runbot as of 6:00PM HKT (Hong Kong Time) | https://github.com/odoo/odoo/issues/18682 | https://github.com/odoo/odoo/pull/18813 | 8102698dfdcdb72d52b9ac8945b07448641e76f4 | 5c2380e9f45d5c0df4a29a6b9f84114798b3bcb2 | "2017-08-04T09:54:17Z" | python | "2017-08-14T09:10:43Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,618 | ["addons/web_calendar/static/src/js/web_calendar.js"] | Odoo 10.0 CE - Calendar view Uncaught TypeError: Cannot read property '_week' of undefined | Impacted versions: 10.0
Steps to reproduce: Installed Odoo on VPS and few Apps
Current behavior: When going to "Calendar View" I am getting the following error:
```
Uncaught TypeError: Cannot read property '_week' of undefined
https://xxxx/web/content/791-7d70572/web.assets_backend.js:10831
Traceback:
TypeError: Cannot read property '_week' of undefined
at get_fc_defaultOptions (https://xxxx/web/content/791-7d70572/web.assets_backend.js:10831:238)
at Class.init_calendar (https://xxxx/web/content/791-7d70572/web.assets_backend.js:10847:165)
at Class._do_show_init (https://xxxx/web/content/791-7d70572/web.assets_backend.js:10844:67)
at fire (https://xxxx/web/content/251-ff1319d/web.assets_common.js:541:299)
at Object.fireWith [as resolveWith] (https://xxxx/web/content/251-ff1319d/web.assets_common.js:546:198)
at Object.deferred.(anonymous function) [as resolve] (https://xxxx/web/content/251-ff1319d/web.assets_common.js:548:56)
at Class.do_show (https://xxxx/web/content/791-7d70572/web.assets_backend.js:10898:69)
at Class.prototype.(anonymous function) [as do_show] (https://xxxx/web/content/251-ff1319d/web.assets_common.js:3010:559)
at Class._display_view (https://xxxx/web/content/791-7d70572/web.assets_backend.js:1700:354)
at Array.<anonymous> (https://xxxx/web/content/791-7d70572/web.assets_backend.js:1699:99)
```
It seems to come from the following line in the JS code:` firstDay:moment._locale._week.dow`
Any idea on how to resolve that ?
TIA
| https://github.com/odoo/odoo/issues/18618 | https://github.com/odoo/odoo/pull/19864 | eb7a098592294425e7f229fca080ae15f56c3317 | df124080b624a8bdb86fec352fe690725ed36bac | "2017-08-02T02:18:02Z" | python | "2017-10-12T10:33:11Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,511 | ["odoo/fields.py", "odoo/models.py"] | [10.0] Severe performance issues on _inherits models | On large recordsets I got some severe performance issues while browsing through an inherits relation.
For example I have a batch process exporting a csv file with products variants:
I have to export 50.000 products.
If I do :
`variant.categ_id` It takes a very long time to get the result.
If I do:
`variant.product_tmpl_id.categ_id` The result is immediate
The problem is that the global perfomance of the application is impacted by this problem.
For example my POS takes more than 15 minutes to load. Because I have 26.000 products and the compute price method uses a lot browsing through the inherits such like `product.cated_id`, `product.uom_id` and they all takes a huge time to compute.
Same issue in this case.
If I do :
`variant.price` It takes a very long time to get the result.
If I do:
`variant.product_tmpl_id.price` The result is immediate
Could you help me ?
Simple way to reproduce:
1/ Create a new database and install sale module
2/ Launch following script through odoo shell :
```python
# -*- coding: utf-8 -*-
import logging
_logger = logging.getLogger(__name__)
self = self # noqa
nb_product = 50000
i = 0
while i < nb_product:
prod = self.env['product.template'].create({'name': 'product_%s' % i})
i += 1
if i % 1000 == 0:
self.env.cr.commit()
_logger.info("%s Products Created" % i)
```
2/ Launch following script through odoo shell :
```python
# -*- coding: utf-8 -*-
import logging
_logger = logging.getLogger(__name__)
self = self # noqa
products = self.env['product.product'].search([])
for product in products:
# Immediate response
_logger.info('Category Template %s' % product.product_tmpl_id.categ_id)
# Lagging response
_logger.info('Category Variant %s' % product.categ_id)
break
``` | https://github.com/odoo/odoo/issues/18511 | https://github.com/odoo/odoo/pull/18644 | 354539942d29acc4cfefdb8851ed18ff1bdd4b63 | d140f0ef0e7d9cb3eb4a6ad344ae761936a0a288 | "2017-07-28T08:13:16Z" | python | "2017-08-10T12:51:27Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,363 | ["addons/im_livechat/controllers/main.py"] | [10.0] website_live_chat: Chrome lang spanish Latin America (es_419), Faild to create mail channel (opw-766489) | Impacted versions:
10.0
Steps to reproduce:
From Chrome Versión 59.0.3071.115 (Build oficial) (64 bits)
with lang spanish Latin America es_419
Go to http://247698-10-0-f3ee58.runbot8.odoo.com/?db=247698-10-0-f3ee58-all
Current behavior:
```python
2017-07-20 16:21:02,024 10584 INFO 247698-10-0-f3ee58-all odoo.sql_db: bad query: INSERT INTO "ir_translation" ("id", "lang", "src", "name", "type", "value", "state", "res_id") VALUES(nextval('ir_translation_id_seq'), 'es_419', 'Visitor, Administrator', 'mail.channel,name', 'model', 'Visitor, Administrator', 'translated', 81) RETURNING id
```
Expected behavior:
Chat being open
Video/Screenshot link (optional):

| https://github.com/odoo/odoo/issues/18363 | https://github.com/odoo/odoo/pull/19236 | 73edebc371669ea3b68c7f14301b2ef6f3df0d60 | 6879409723184ed360043b7a2da11fcd725e5c4f | "2017-07-20T17:29:06Z" | python | "2017-09-07T13:54:26Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,209 | ["addons/stock/stock.py", "addons/stock/tests/test_stock_flow.py"] | [9.0] stock: MTO picking lines are reserved with other material if any | Impacted versions: 9.0
Steps to reproduce:
* Create an MTO product with
* Product Type: Stockable Product
* Routes: "Buy" and "Make to Order"
* Update Qty on Hand to any quantity (i.e, 2).
* Create a sales order with this product and a number <= to the one in the step before.
* Confirm the sales order.
Current behavior:
The created delivery picking appears in state "Reserved" and the current quantity on stock has been reserved, allowing you to transfer that stock.
Expected behavior:
The created delivery picking should be in "Waiting another operation", or at least in "Waiting availability" until the purchase order is confirmed (if you have defined a supplier for the product and the procurement creates the purchase order), which seems to be the current behavior when there's no stock available (is this also correct, as it allows to manually reserve?). | https://github.com/odoo/odoo/issues/18209 | https://github.com/odoo/odoo/pull/18376 | 7333f5e9b8ac8909af45def63002bd26a234e79d | e2a255717fb941fffa1fcc8ed0c5e390fba76618 | "2017-07-13T11:08:05Z" | python | "2017-07-24T08:53:36Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 18,089 | ["addons/point_of_sale/models/pos_order.py"] | Picking is not done, when the product.type ='product' and line.qty = 0 | Impacted versions: 10.0
Steps to reproduce:
1. Create pos order with two products.
2. One of the products, must be type= Stockable Product and quantity=0.
3. Pay order.
4. check order --> extra info --> picking
5. picking state = Waiting Availability
Current behavior:
picking State = Waiting Availability
Expected behavior:
picking State = Done
[As in v9.0](https://youtu.be/X_R_jHZdYb8)
Video/Screenshot link (optional):
https://youtu.be/eWCe6juEcvw
| https://github.com/odoo/odoo/issues/18089 | https://github.com/odoo/odoo/pull/18215 | ad14be036cd85eddc3e43daf4fae32f762a08ea4 | 61304087e7f48c677837dabdc8f1f8aeb18fb52e | "2017-07-07T02:17:48Z" | python | "2017-07-18T07:40:34Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,926 | ["addons/account/models/account.py", "addons/account/views/account_view.xml"] | [master] Account Group Allow name_get by code - missing feature | Impacted versions:
master
Steps to reproduce:
On the video
Current behavior:
You have to write the name of the group only
Expected behavior:
Either Writing the code or the name of an Account Group fetch the record
Video/Screenshot link (optional):
https://drive.google.com/file/d/0B1w9gokcJL9hVWpaMTdGQ3RlLTQ/view
| https://github.com/odoo/odoo/issues/17926 | https://github.com/odoo/odoo/pull/17946 | 38c055c3256e314c8df225e864f7c639fe883c98 | a287c15bc8af4ef351345fb3ba25f4dff510fccd | "2017-06-30T04:02:15Z" | python | "2017-07-05T06:12:49Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,707 | ["addons/stock_account/models/stock.py"] | [10.0 + 10.0e] Landed costs producing negative value quants which later breaks inventory adjustments | The landed costs button_validate() method attempts to create a correction in quant cost that occurs due to currency rounding. However this can lead to a negative cost value being assigned to a stock.quant
The issue affects move lines with a very low price to quantity ratio. ie 1000 x $0.10
Applying a landed cost of $456.70 to this line gives a diff of $0.4567
Having a 2 decimal rounding on the currency makes diff_rounded = $0.46
Now the formula used to determine the cost correction (diff_correct) on the single qty quant (quant_correct)
```python
diff_correct += (line.quantity * diff) - (line.quantity * diff_rounded)
```
This equates to diff_correct = 0.46 + (1000 * 0.4567) - (1000 * 0.46) = -2.84
and then
```python
if quant_correct:
quant_dict[quant_correct] = quant_correct.cost + diff_correct
for quant, value in quant_dict.items():
quant.sudo().write({'cost': value})
```
The correction quant's cost becomes $-2.74
If this quant is then in an inventory adjustment, the accounting lines generated violate a constraint on the journal that (credit + debit) >= (0)
I would suggest that the solution is that this line should be changed to only ever round down
```python
diff_rounded = tools.float_round(diff, precision_rounding=curr_rounding)
```
If rounded down in this case, diff_rounded = 0.45 and diff_correct would be calculated as $7.15 and quant.cost = $7.25
A disproportionately large cost for a $0.10 product, but at least it's positive.
Perhaps a rounding_method='DOWN' should be implemented in tools.float_utils ? | https://github.com/odoo/odoo/issues/17707 | https://github.com/odoo/odoo/pull/18210 | 37ff69d45e3a595824c79ecde1923b0c4a5f33f8 | 69fa111e95f1697a007aae8be32fe51188789da2 | "2017-06-20T00:54:26Z" | python | "2017-07-13T11:20:24Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,508 | ["addons/website_payment/controllers/main.py", "addons/website_payment/views/website_payment_templates.xml"] | Error when making payment for invoice using wire transfer | Impacted versions: 10.0
Steps to reproduce:
Login to front-end website. From user menu, select My Account.
In Your Invoices and Payments, click on Pay Now link (next to invoice).
(Payment method is wire transfer)
Click on Pay Now
Current behavior:
There's error:
"Oops! There was a problem with your payment."
Expected behavior:
Payment should be done.

Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/17508 | https://github.com/odoo/odoo/pull/25946 | f1ee633f26a78636fede3e2b600c801b5f474a50 | f05b10ce4984c10be9a9664f17f093ba2ec5ee85 | "2017-06-09T03:47:11Z" | python | "2018-07-26T12:17:32Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,388 | ["addons/account/views/account_payment_view.xml"] | [10.0] Client payments won't import after successful validation | **Impacted versions:**
10.0, as far as tested.
**Steps to reproduce:**
1. Load a csv to import
2. Validate (validation sucessful)

3. Click on the Import button
**Current behavior:**
After I click on _Import_ it doesn't presents the _Loading_ screen, and after a seconf I'm returned to the clients payment screen, with 0 imports.
CONSOLE:
```
09:33:11.446 web.assets_common.js:954 XHR finished loading: POST "http://167.114.158.135:8101/web/dataset/call_kw/base_import.import/do".
09:33:11.558 web.assets_backend.js:1616 [Violation] 'setTimeout' handler took 76ms
09:33:11.850 web.assets_common.js:954 XHR finished loading: POST "http://167.114.158.135:8101/web/dataset/search_read".
09:33:12.163 web.assets_common.js:954 XHR finished loading: POST "http://167.114.158.135:8101/web/dataset/search_read".
09:33:18.718 web.assets_common.js:954 XHR finished loading: POST "http://167.114.158.135:8101/longpolling/poll".
```
LOG:
```
2017-06-02 13:33:08,732 19837 DEBUG pedralbes odoo.api: call base_import.import(22,).do([u'journal_id/id', u'partner_id', u'communication', u'payment_date', u'amount', u'payment_method_id/id'], {u'datetime_format': u'', u'date_format': u'%m/%d/%Y', u'keep_matches': False, u'encoding': u'utf-8', u'fields': [], u'quoting': u'"', u'headers': True, u'separator': u',', u'float_thousand_separator': u',', u'float_decimal_separator': u'.', u'advanced': True}, dryrun=True)
2017-06-02 13:33:08,733 19837 WARNING pedralbes odoo.addons.base_import.models.base_import: Failed to read file 'pagos-clientes2.csv' (transient id 22) using user-provided mimetype application/vnd.ms-excel
2017-06-02 13:33:08,758 19837 INFO pedralbes odoo.addons.base_import.models.base_import: importing 256 rows...
2017-06-02 13:33:09,873 19837 INFO pedralbes odoo.addons.base_import.models.base_import: done
2017-06-02 13:33:09,873 19837 INFO pedralbes odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.
2017-06-02 13:33:11,299 19836 DEBUG pedralbes odoo.modules.registry: Multiprocess signaling check: [Registry - 48 -> 48] [Cache - 288 -> 291]
2017-06-02 13:33:11,299 19836 INFO pedralbes odoo.modules.registry: Invalidating all model caches after database signaling.
2017-06-02 13:33:11,301 19836 DEBUG pedralbes odoo.api: call base_import.import(22,).do([u'journal_id/id', u'partner_id', u'communication', u'payment_date', u'amount', u'payment_method_id/id'], {u'datetime_format': u'', u'date_format': u'%m/%d/%Y', u'keep_matches': False, u'encoding': u'utf-8', u'fields': [], u'quoting': u'"', u'headers': True, u'separator': u',', u'float_thousand_separator': u',', u'float_decimal_separator': u'.', u'advanced': True}, dryrun=False)
2017-06-02 13:33:11,303 19836 WARNING pedralbes odoo.addons.base_import.models.base_import: Failed to read file 'pagos-clientes2.csv' (transient id 22) using user-provided mimetype application/vnd.ms-excel
2017-06-02 13:33:11,328 19836 INFO pedralbes odoo.addons.base_import.models.base_import: importing 256 rows...
2017-06-02 13:33:12,424 19836 INFO pedralbes odoo.addons.base_import.models.base_import: done
2017-06-02 13:33:12,425 19836 INFO pedralbes odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.
2017-06-02 13:33:12,825 19835 DEBUG pedralbes odoo.modules.registry: Multiprocess signaling check: [Registry - 48 -> 48] [Cache - 289 -> 292]
2017-06-02 13:33:12,825 19835 INFO pedralbes odoo.modules.registry: Invalidating all model caches after database signaling.
2017-06-02 13:33:13,109 19839 DEBUG pedralbes odoo.modules.registry: Multiprocess signaling check: [Registry - 48 -> 48] [Cache - 288 -> 292]
2017-06-02 13:33:13,109 19839 INFO pedralbes odoo.modules.registry: Invalidating all model caches after database signaling.
2017-06-02 13:33:19,570 19841 DEBUG pedralbes odoo.modules.registry: Multiprocess signaling check: [Registry - 48 -> 48] [Cache - 290 -> 292]
2017-06-02 13:33:19,571 19841 INFO pedralbes odoo.modules.registry: Invalidating all model caches after database signaling.
```
**Expected behavior:**
The values in my file are imported:
[pagos-clientes2.zip](https://github.com/odoo/odoo/files/1047820/pagos-clientes2.zip)
**Configuration File:**
```
limit_memory_hard = 4294967296
limit_memory_soft = 671088640
limit_request = 8192
log_handler = :WARNING,werkzeug:CRITICAL,openerp.service.server:INFO
limit_time_cpu = 500
limit_time_real = 600
```
In this import I completely removed the reverse proxy to test directly with **IP:Port** | https://github.com/odoo/odoo/issues/17388 | https://github.com/odoo/odoo/pull/17497 | 5952c394e5e917a6a5f9c0780dd23198c26fbef3 | c257daf310978f54991c1ca6cd936f0948108931 | "2017-06-02T13:44:43Z" | python | "2017-06-12T10:16:16Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,341 | ["addons/hr_expense/models/hr_expense.py", "addons/hr_expense/report/report_expense_sheet.xml", "addons/hr_expense/views/hr_expense_views.xml"] | [10.0] Currency mixing in HR expense sheet and report | Impacted versions:
10.0
Steps to reproduce:
See https://youtu.be/I3Qb3m1GmJ4
Current behavior:
Currency mixing in expense sheet view and report
Expected behavior:
Have no currency mixing :smile:
Video/Screenshot link (optional):
See https://youtu.be/I3Qb3m1GmJ4
Credit : @alexis-via - Barcelona OCA code sprint
| https://github.com/odoo/odoo/issues/17341 | https://github.com/odoo/odoo/pull/17567 | c257daf310978f54991c1ca6cd936f0948108931 | 6582781058d716acd4bf23f94ad15afc9936a6a6 | "2017-05-31T17:37:11Z" | python | "2017-06-12T12:43:05Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,285 | ["addons/crm/res_partner.py"] | [10.0] Duplicating user automatically adds duplicated user to all agenda items as attendee | Impacted versions: 8.0, 9.0, 10 (both enterprise and community)
Steps to reproduce:
- Create a new calendar item in the agenda and add yourself as attendee:

- Go to users and duplicate the user who you've just attached to the calendar item:

Example of the new user:

- Go back to the calendar and look at the attendees, the new (duplicated user) is automatically added as a follower:


Current behavior: When the user is duplicated the newly duplicated user will be added as a follower on all calendar items of the original user.
Expected behavior: The new, duplicated, user is not added as an attendee on all calendar items from the original user. | https://github.com/odoo/odoo/issues/17285 | https://github.com/odoo/odoo/pull/17286 | d6cf41b67b471c3511c2f025f3ec9e15bda50828 | 140113346dc2ecd265a0415d25fad290935545b2 | "2017-05-30T07:51:46Z" | python | "2017-05-30T09:22:22Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,093 | ["openerp/addons/base/ir/ir_qweb.py", "openerp/addons/test_converter/tests/test_html.py"] | No negative symbol on pdf invoice | Impacted versions: ODOO 10
Problem.
If i print a invoice with a negative amount, the pdf shows a vertical bar instead of a minus symbol.

I have tried to install a new pdf reader, but with no result. | https://github.com/odoo/odoo/issues/17093 | https://github.com/odoo/odoo/pull/26019 | 2c5ec48f926be9aaf2c2f14e0177f0dee67d5348 | cb2a3afa7e010d1cd7a01c64f5c3ac58b6fd76d2 | "2017-05-19T07:26:59Z" | python | "2018-07-27T15:07:38Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 17,051 | ["addons/web/static/src/js/views/form_common.js"] | Bug found in form_relation_widgets.js | Impacted versions: 10
Steps to reproduce:
We found a bug in file web/static/src/js/views/form_relation_widgets.js (V10). The bug consists in that for a model that is read-only and we want to visualise it in a popup, the buttons SAVE and DISCARD still appear in the popup, which is wrong because those buttons should not appear.
In line 156 of form_relation_widgets.js the statement: readonly: !self.can_write always assigns false because self.can_write is evaluated as a string instead of a boolean. It comes as string instead of boolean Please fix this because it is a terrible bug. Or advice if we are wrong.
Current behaviour: SAVE and DISCARD buttons still appear in form in popup window even if model is set to read only access.
Expected behaviour: SAVE and DISCARD button should not appear. It should only appear the CLOSE button.
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/17051 | https://github.com/odoo/odoo/pull/19314 | 55b8a454c97020fa52799651c3312fcebb3ee5d3 | 1d769ad5a71e6f1eb686a184288e2ba0e2e39b1d | "2017-05-17T21:44:17Z" | python | "2017-09-08T07:23:44Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 16,781 | ["addons/point_of_sale/static/src/js/screens.js"] | POS same receipt Reference generated | Impacted versions: 8.0 (Not test in other versions for now)
Steps to reproduce: One have login to same session using same credentials in multiple browsers.
Current behavior: Same Order Reference is generated in POS which leads to data loss of orders.
Expected behavior: Same Order Reference should not be generated and even if that is generated there should be any data loss
Video/Screenshot link (optional):
Screenshot of the bill that got printed:-

Above order is missing in database because the Order - Order 00591-006-0018 is already exist in database. Same order is created at time 06:43:55 while above order is created at 6:45:32.

In below image if you see all the products are different:-

Explaining that more from code point of view below is the code in POS:-
https://github.com/odoo/odoo/blob/8.0/addons/point_of_sale/static/src/js/models.js#L1046-L1057
Though this functions says it creates unique id but it does not.
This function calculates unique id from POS Session ID, POS session login number and sequence number and their combination in function results in same unique id.
Accepting that above code creates same Receipt number.
The code that saves data to database is quite more surprising:-
https://github.com/odoo/odoo/blob/8.0/addons/point_of_sale/point_of_sale.py#L657-L686
Above function pop those records which receipt reference is already exist in database resulting into 100% data loss when receipt reference already exists.
We think that even if we would been getting duplicate records we should have considered saving them in another model just to make sure no data loss happens even if Javascript code fails to generate unique id as data is very important here because it keeps no track of what is sold and what has not been sold.
We are not sure if anyone has faced such issue but this is one of the biggest issue of its kind which breaks the reliability of odoo POS.
| https://github.com/odoo/odoo/issues/16781 | https://github.com/odoo/odoo/pull/21669 | 9bba7fea42be534fd100d809dfd1dc632ee9ace4 | 9b83b1ba64dc58ebc997bf5fdb38264351904c06 | "2017-05-03T21:19:50Z" | python | "2017-12-18T13:40:19Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 16,611 | ["addons/purchase/purchase.py"] | Duplicate product line with zero quantity when invoiced from picking | **Impacted versions:**
8.0
**Steps to reproduce:**
* The product is created with its respective configuration (it must be stokable, have a supplier and procurement by buy), in the accouting tab the "inventory valuation" section should be "Real time".
* Proceed to create its reordering rule, it is assigned a value min = 100 and max = 160.
* Run Scheduler, Which generates a purchase order to supply the product created.
* The Reordering Rule is modified so that min = 120 and max = 170.
* Run Scheduler, Which doubles the procurement for the product in question.
* We locate the generated purchase order and change quantity = 170 to quantity = 160 in the product line, then it is confirmed and change Invoicing control to "Based on Incoming shipments". Update the Total.
* Confirm Order. Approve Order. "Go to Shipments". If we review the related picking we will see that for product line duplicate the input creating a second with quantity = 0 value.
* Transfer. Apply. Create Invoice. At this point we appreciate the invoice with a duplicate product line and with quantity value equal to zero.
* Validate. (traceback error)
**Current behaivor:**
Currently the process described above generates a duplicate product line and with quantity equal to zero for the picking and that is transferred to the invoice when we do the latter from the picking. As shown in the following video in an example from runbot.odoo.com [ Here.](https://youtu.be/CziZuFZvGHo)
catch traceback error:

**Expected behaivor:**
Do not generate duplicate product line with quantity zero and thus avoid being transferred to the invoice generating a traceback error at the time of validating the invoice as shown:
Video/Screenshot link (optional):
https://youtu.be/CziZuFZvGHo
| https://github.com/odoo/odoo/issues/16611 | https://github.com/odoo/odoo/pull/16679 | 2a65b8156d79902ae95013622f55780fbfff3ad4 | 814d903109b3b5d62cd23cb6a191971e6fe8be8e | "2017-04-24T18:44:36Z" | python | "2017-04-28T07:28:14Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 16,219 | ["addons/web/static/src/less/search_view.less"] | [v10c] Custom filter view is not scrollable | Impacted versions: 10 community
Steps to reproduce: anywhere, go in "Advanced search" and try to add more filters than your screen resolution can handle
Current behavior: filters are out of screen, no scrolling bar appears and mouse wheel is useless (only keyboard with tab or down arrow)
Expected behavior: in other version (v9c, v10e) you can scroll with mouse wheel and add as many filters as you want
Video/Screenshot link (optional):
In v10c, no scrolling bar and new filters are out of screen:

In v9c, you can scroll easily to add as many filters as wanted:

| https://github.com/odoo/odoo/issues/16219 | https://github.com/odoo/odoo/pull/21283 | b3be0b75764d6a0c45097f72cf9d38a459969646 | d847a664157738fe896dc5636977489f2da2a7ff | "2017-04-03T15:15:52Z" | python | "2017-12-13T10:35:48Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 16,165 | ["addons/mass_mailing/views/email_template.xml"] | Cannot edit mass mailing templates after they have been created if user is not in en_US context | Impacted versions: 9, did not try 10
Steps to reproduce:
1. Set your user's lang to Spanish.
2. Create a mass mailing template.
3. Save it.
4. Edit it again.
5. Change something in edit mode (english).
6. Save.
Current behavior:
- Changes saved to Spanish version of the template.
- Changes not saved to any other version (including English, which is the one I was editing).
- Cannot use updated template because when creating a mass mailing, templates are always used in English.
Expected behavior:
- Changes saved in English.
- Missing parts added to Spanish (and other languages) version.
(This is actually not really a requirement, since it is supposed that those templates cannot be translated, and if they were, cannot be used translated, as per https://github.com/odoo/odoo/pull/15583.)
- Able to use the new template for a new mass mailing.
Video/Screenshot link (optional):
[Screencast_30-03-17_14:35:17.zip](https://github.com/odoo/odoo/files/882295/Screencast_30-03-17_14.35.17.zip)
@Tecnativa @nle-odoo https://github.com/odoo/odoo/issues/15622 | https://github.com/odoo/odoo/issues/16165 | https://github.com/odoo/odoo/pull/16255 | cd2b07ea44a58f576ce8ca95acca499267afdbbf | 551719a81e97807f8114c5f09a9115f7fbd8d4e6 | "2017-03-30T12:44:03Z" | python | "2017-04-26T16:37:53Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,979 | ["odoo/addons/base/res/res_lang.py"] | When I try inactive a language not change default values | Impacted versions:
9.0, 10.0
Steps to reproduce:
Create a new database with language English by default and add a new language. Go to settings->translate->languages (in debug mode), inactive English. Go to contacts and "Create".
Related: https://github.com/odoo/odoo/issues/3854
Current behavior:
Frontend error: Try read en_US language and add to partner, but this not are avalaible.
Expected behavior:
Change default language for all partners.
I need change the default value manually for create new partners:
```
UPDATE public.ir_values
SET value='S''es_CO''
p1
.'
WHERE id=1;
```
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/15979 | https://github.com/odoo/odoo/pull/16009 | 1031a699b7c28bf3f3732813a7de3d8f86653c46 | 71d86afb5819c514ce00bee4857036e8ff206854 | "2017-03-21T21:08:07Z" | python | "2017-03-23T13:38:05Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,950 | ["addons/stock/stock.py"] | When check availability a quant already reserved is removed from the original stock move and assigned to another stock move | **Impacted versions:** 8.0
**Steps to reproduce:**
To reproduce it is necessary the fifo configuration in the assignation of quants in moves.
- Create a sale order with two lines of the same product, one of that line with a route that generate moves between warehouse.
<img width="1231" alt="skitch 65" src="https://cloud.githubusercontent.com/assets/11341058/24102907/d575a638-0d53-11e7-922e-a3f034d43e94.png">
The route used has three pull rules:
1. From Stock Warehouse_1 to Virtual Locations/Inter Company Transit
2. From Virtual Locations/Inter Company Transit to Stock Warehouse_2
3. From Stock Warehouse_2 to Customers
<img width="1224" alt="skitch 66" src="https://cloud.githubusercontent.com/assets/11341058/24103147/b7c2bfbc-0d54-11e7-955c-87247a10e0bd.png">
- Confirm the sale order. It must be created three pickings:
<img width="1226" alt="skitch 67" src="https://cloud.githubusercontent.com/assets/11341058/24103498/d90c9b38-0d55-11e7-97ff-f986df8cdd9b.png">
- Transfer first two pickings.
<img width="1230" alt="skitch 70" src="https://cloud.githubusercontent.com/assets/11341058/24104496/b7b0be8a-0d58-11e7-89a2-4331fceec1d8.png">
- Before transfer third picking, review that one move has reserved the quant correctly because was reserved from the previous pickings.
<img width="1215" alt="skitch 68" src="https://cloud.githubusercontent.com/assets/11341058/24103908/23952cc8-0d57-11e7-9346-bd48d7edb54a.png">
**Current behavior:**
When check availability of this third picking, the quant already reserved is moved to the other move.
<img width="1264" alt="skitch 69" src="https://cloud.githubusercontent.com/assets/11341058/24104056/8be11616-0d57-11e7-8763-a90507315b19.png">
**Expected behavior:**
When check availability of this third picking, the moves already reserved must not be altered.
| https://github.com/odoo/odoo/issues/15950 | https://github.com/odoo/odoo/pull/16108 | e25dad4fed02c16be50e7055305037f787529396 | 59a63978677e1dae7a665ffc86df1414c9784d26 | "2017-03-20T14:43:21Z" | python | "2017-03-28T11:30:29Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,860 | ["addons/web/static/src/js/views/search_view.js", "doc/cla/individual/ruter.md"] | Setting disable_favorites on Search View causes Exception | Impacted versions: 10
Steps to reproduce:
favorite_menu is never created when disable_favorites is set. The line "this.$buttons && this.**favorite_menu**.get_default_filter" fails when set_default_filters is called.
```javascript
}
if (!this.options.**disable_favorites**) {
**this.favorite_menu** = new FavoriteMenu(this, this.query, this.dataset.model, this.action_id, this.favorite_filters);
menu_defs.push(this.favorite_menu.appendTo(this.$buttons));
}
}
return $.when.apply($, menu_defs).then(this.set_default_filters.bind(this));
},
set_default_filters: function () {
var self = this,
default_custom_filter = this.$buttons && this.**favorite_menu**.get_default_filter();
```
Current behavior:
Expected behavior:
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/15860 | https://github.com/odoo/odoo/pull/21432 | ed326e056946f5990357649245639a39b85134dc | fe8668e509d36b48a6be0c82f46a44a0f553cbb6 | "2017-03-14T14:37:43Z" | python | "2017-12-05T09:31:00Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,589 | ["addons/mail/models/mail_followers.py"] | BUG: Error, a partner cannot follow twice the same object | **Impacted versions:**
saas-14
**Steps to reproduce:**
1. create a sale order with a new product named Sprint configured as service, Track Service "Create task and create hours" and link to Internal - GAP Analysis.
2. Confirm the sale order and review
3. Add a new line for sprint in the sale order and try to save the file.
**Current behavior:**
A Odoo Server Error (Validation Error) appears "Error, a partner cannot follow twice the same object"

**Expected behavior:**
I want to be able to add more lines to my confirmed sale order
**Video/Screenshot link (optional):**
https://youtu.be/ApXlPrxVISE
I think this is a critical bug. We found out this bug Feb 12, so maybe a change before that date could introduce the bug.
If if help, I repeat the same poc in a local instance and this is the error capture in my server log
```bash
sale.order(1,).write({
u'order_line': [[4, 1, False], [0, False, {
u'procurement_ids': [],
u'qty_delivered': 0,
u'product_id': 1,
u'product_uom': 1,
u'sequence': 11,
u'customer_lead': 0,
u'price_unit': 0,
u'product_uom_qty': 1,
u'discount': 0,
u'state': u'draft',
u'qty_delivered_updateable': True,
u'analytic_tag_ids': [],
u'invoice_status': u'no',
u'tax_id': [[6, False, [2]]],
u'layout_category_id': False,
u'name': u'Sprint'}]]})
2017-02-20 20:05:09,736 1513 INFO openerp_test odoo.sql_db: bad query:
UPDATE "mail_followers"
SET "res_model"='project.task'
WHERE id IN (29, 30)
ERROR: duplicate key value violates unique constraint "mail_followers_mail_followers_res_partner_res_model_id_uniq"
DETAIL: Key (res_model, res_id, partner_id)=(project.task, 16, 3) already exists.
```
| https://github.com/odoo/odoo/issues/15589 | https://github.com/odoo/odoo/pull/15730 | 4f40c9da7b26dab9b6eb64aa5df2fe408fa3b24c | 6b7012086fedcf2e8e3282f87eb2757191fe4f62 | "2017-02-21T21:44:48Z" | python | "2017-03-06T15:24:23Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,540 | ["addons/web_calendar/static/src/js/web_calendar.js"] | [9.0, 10.0] Calendar view drag & drop does not respect client's timezone | ### Impacted versions:
9.0 and 10.0 (8.0 seems to work properly)
### Steps to reproduce:
1. Set your client machine's timezone to UTC+08:00
2. Open task calendar view (or any calendar view that supports drag & drop)
3. Try to move a task to another date by drag & drop.
### Current behavior:
The task moves to the day before where it was dropped.
I am not sure how exactly Odoo identifies the target date, but the problem does not occur when I change the timezone of my machine to UTC.
### Expected behavior:
The task moves to the date it was dropped.
### Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/15540 | https://github.com/odoo/odoo/pull/16698 | 283b648c186db3dadbbcc4b25a2c7ad131818b42 | a9da6e9f3f73674df3354e5e6d8f354e8b26eecb | "2017-02-17T09:43:00Z" | python | "2017-04-28T10:01:32Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,445 | ["addons/mass_mailing/models/mass_mailing.py"] | Mass mails not sent when filter applied in different language than user | Impacted versions: 9, 10
Steps to reproduce:
1. Install mass_mailing.
2. Install an additional language (i.e. Spanish).
3. Log in as demo user.
4. Create a new partner, set its country to be "Spain".
4. Change demo user's lang to Spanish.
5. Create a new mass mailing.
5. Choose customer recipients.
5. Select those customers whose country is "España".
4. Design the email.
3. Send it.
Current behavior:
The demo user sees 1 record selected, the admin user sees 0 records. This happens because admin's lang is English and no countries are found if you search for "España" under that context.
Since the queue is sent under the admin user context, no mails are sent.
Demo user scratches his head (in case he ever notices no mails were sent).
Expected behavior:
Queue should be run under the same language as the one in the context when the user pressed the "send" button, to avoid losing records when some domain is applied over translated fields.
@Tecnativa | https://github.com/odoo/odoo/issues/15445 | https://github.com/odoo/odoo/pull/23744 | 4c692f1bb31766840ca3eca6a8e0faebd34cda1a | c3b49b3a5fec204a62c4a6741c6e7bf71c1bee55 | "2017-02-10T14:12:52Z" | python | "2018-03-20T10:42:11Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,404 | ["addons/hr_payroll/models/hr_payroll.py"] | hr_payroll miscalculation in no of work days and hours. | Impacted versions: Odoo 10
Steps to reproduce:
1. Create a contract for the Employee and select the Working Schedule as Day shift.
2. Go to Payroll -> Employee Payslips -> Create. Select Employee and the Contract, Period must be automatically selected. In Worked days, the WORK100 shows no of days and hours by calculating the period and Working schedule.
3. Now try selecting the previous month(1st day to last day). And the worked Days will miscalculate the no of days and hours.(Check Screenshots).
Current behavior: Miscalculation in Worked Days( No of days and Hours) if the period is change e.g. Select a last month
Expected behavior: No of days and hours must be calculated properly after changing the period.
Video/Screenshot link (optional):


| https://github.com/odoo/odoo/issues/15404 | https://github.com/odoo/odoo/pull/15541 | 5b424e5f97b8a53b3c4d39a1f11107bf3b5f6ac4 | 432234c4d469abdd9e16d5b7ec18195a2d61739b | "2017-02-08T10:16:13Z" | python | "2017-02-17T10:20:47Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,092 | ["addons/stock/report/report_deliveryslip.xml"] | [10.0] Partner address missing from the picking prints | **Impacted versions:** 10.0
**Steps to reproduce:**
1. Create a new `stock.picking`
1. Define the partner
1. Add a product line in the initial demand
1. Print the Delivery Slip
1. Print the Picking Operations
**Current behavior:** The picking operations print is missing the "Delivery Address" and the delivery slip is missing the "Customer Address" part.
**Expected behavior:** The partner address should be visible as the "Delivery Address" in the picking operations print and as the "Customer Address" in the delivery slip.
**Observations:**
- For the delivery slip part, commit 25dd22c3a8b6ffcd3810eeda368231a47ec18b8f might be the cause (ping @simongoffin)
- If you try this in demo.odoo.com, the delivery slip contains "Customer Address", but the picking address doesn't contain "Delivery Address", but if you try this in the more recent builds (ie. Runbot), you'll notice that the address is missing from the delivery slip. I gather this is due to an older build running in demo.odoo.com.
**Video:**

In this video I only print the delivery slip in the latest 10.0 community build in Runbot, but the same problem applies to the picking operations print. Only customer name and phone number get printed on the picking operations print. | https://github.com/odoo/odoo/issues/15092 | https://github.com/odoo/odoo/pull/15128 | e2bbee6df52191be4287931df0bfeaef3558e086 | 79d88494d6356a485c67a01e486eec60af552bf4 | "2017-01-16T16:51:08Z" | python | "2017-02-21T09:56:19Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 15,009 | ["addons/product/views/product_views.xml"] | [10.0] Pricing section not displayed correctly on form view of product.product | Impacted versions: 10.0 (at least)
Steps to reproduce:
1) connect to runbot
2) go to the menu "Point of Sales > Orders > Products" (note that this menu entry is on product.product, not on product.template as most other menu entries for products, that's why I use it to show the bug)
3) Click on a product and go to the "Sales" tab
=> The "Pricing" section is empty, that's the bug
4) Click on "Edit" and then click on "Discard"
=> The "Pricing" section now has some content: you can see the O2M widget !
=> But the first column of this widget is "Applicable on" whereas it should be "Pricelist" => that's the second problem of this bug. | https://github.com/odoo/odoo/issues/15009 | https://github.com/odoo/odoo/pull/15010 | 9c96631ddeb017c8d016ee6fafabc170bfcebfa8 | 2b0bb5406e884dd93772e802cbafdeb788734a2f | "2017-01-10T15:25:26Z" | python | "2017-02-03T10:55:44Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 14,999 | ["addons/l10n_cn_standard/__init__.py", "addons/l10n_cn_standard/__manifest__.py", "addons/l10n_cn_standard/data/account.account.template.csv", "addons/l10n_cn_standard/data/account_chart_template_data.xml", "addons/l10n_cn_standard/data/account_tax_templates.xml", "addons/l10n_cn_standard/data/l10n_cn_standard_chart_data.xml"] | [master][9.0][10.0] account type for some account template of china is wrong. | Impacted versions:
9.0, 10.0, master
Steps to reproduce:
like `1401 材料采购` is on the side of `assets`, but this is the wrong type as `expense` in both l10n_cn_standard and l10n_cn_small_business.
Current behavior:
wrong account type
Expected behavior:
need to correct all the wrong account type/
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/14999 | https://github.com/odoo/odoo/pull/15021 | 6bb63edb98e0ad3244e2da54ae04c5f62aa69052 | 2ad0a5a90611e45ba612ab157b328620dc3059dc | "2017-01-10T07:00:38Z" | python | "2017-03-09T08:03:31Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 14,889 | ["addons/stock_account/report/stock_history.py"] | [10.0] Invalid product price history breaks stock valuation (fixed valuation) | **Impacted versions:** 10.0
**Steps to reproduce:**
1. Create a new Stockable Product
2. Set cost price to `2.00`
3. Adjust stock to 10 pcs
4. Enable developer mode
5. Go to Inventory > Reports > Inventory at Date
6. Select current time and retrieve the inventory value
**Current behavior:**
The stock valuation for the product is `0.0`.
**Expected behavior:**
The stock valuation for the product should be `20.0`
**Workaround:**
So, to overcome this issue currently we need to restart odoo and import and export the cost prices for every product.
**Other observations:**
- It seems that `product.price.history` uses [current date without lambda](https://github.com/odoo/odoo/blob/10.0/addons/product/models/product.py#L99) as `datetime`, so the history entry always gets the `datetime` when Odoo was last started up.
- The second problem is that when product is first created, Odoo creates **two** price history entries with the same `datetime`, `write_date` and `create_date`, but different `cost`. The stock valuation report only takes one of them into account.
**Video/Screenshot link (optional):**

.. and the price history in the database:
| id | create_uid | product_id | company_id | datetime | cost | write_date | create_date | write_uid |
|----|------------|------------|------------|----------------------------|------|----------------------------|----------------------------|-----------|
| 11 | 1 | 5 | 1 | 2016-12-30 10:48:16.000000 | 0 | 2016-12-30 14:52:39.668846 | 2016-12-30 14:52:39.668846 | 1 |
| 12 | 1 | 5 | 1 | 2016-12-30 10:48:16.000000 | 2 | 2016-12-30 14:52:39.668846 | 2016-12-30 14:52:39.668846 | 1 |
| 13 | 1 | 5 | 1 | 2016-12-30 10:48:16.000000 | 3 | 2016-12-30 14:53:05.303394 | 2016-12-30 14:53:05.303394 | 1 |
| 14 | 1 | 5 | 1 | 2016-12-30 14:53:26.000000 | 2 | 2016-12-30 14:53:36.890684 | 2016-12-30 14:53:36.890684 | 1 |
As you can see, ID's 11 and 12 were created on the exact same millisecond. I changed the price in ID 13 but the `datetime` is still the same. The `datetime` only changes when I restart Odoo. | https://github.com/odoo/odoo/issues/14889 | https://github.com/odoo/odoo/pull/17825 | aaadb232b23165346f068c82e824e47ea37535d1 | 51d072db444bfd2dcad18122b502a4d3a98627f4 | "2016-12-30T15:05:35Z" | python | "2017-06-26T11:22:03Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 14,158 | ["addons/account/models/account_move.py", "addons/account_tax_cash_basis/tax_cash_basis.py"] | Raise error when reconcile invoices in USD with payments in MXN | Configuration:
- Company Currency: MXN
- Tax 16%.
- Multicurrency, MXN and USD.
- Decimal precision: 4
- Currency Data:
MXN: rate 1.0
USD rates
| Database time | rate | Local time (Mexico) |
| --- | --- | --- |
| 2016-09-09 00:00:01 | 0.054440 | 2016-09-08 17:00:01 |
| 2016-10-11 00:00:01 | 0.051815 | 2016-10-10 17:00:01 |
Steps to reproduce:
1. Create an invoice for 600 USD + tax (16%) with date 09/09/16 (September 9, 2016) and when you validate in the journal entry is $12,784.7172 MXN.
3. Create a bank statement in MXN and add a line with date 11/10/16 (October 11, 2016) and amount $13,372.80 MXN.
4. When reconcile select the invoice and there is a difference ($588.0828 MXN) add a line with the difference and select an account for the difference.
<img width="607" alt="captura de pantalla 2016-11-04 a la s 17 23 26" src="https://cloud.githubusercontent.com/assets/6758279/20025385/749605a2-a2b3-11e6-8b1a-4e9fbf1521ed.png">
**Note that the amount of difference is $588.08 in when you select the account**
5. Click on reconcile.
Expected behavior:
- Reconcile the invoice and create account move.
Current behavior:
- Raise an error `Wrong credit or debit value in accounting entry !`

| https://github.com/odoo/odoo/issues/14158 | https://github.com/odoo/odoo/pull/14437 | b73518fe579f3902171969ce6ac7438bce64f925 | 27b6d245e79cc0ae5cbd1cdc9ee1fe388075d333 | "2016-11-04T23:43:42Z" | python | "2016-11-22T15:04:52Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 14,024 | ["addons/account/account_invoice.py"] | [8.0] Bad currency conversion for taxes on invoices (Again) | Impacted versions:
At least 8.0
Steps to reproduce:
See https://youtu.be/kmXVzf3ApaM
Current behavior:
Currently if you validate an invoice (even with an invoice date) after the initial conversion rate has changed
(if the rate is changed between creation and validation). The tax amount and the credit/debit amount is not computed from the same rate.
This one is responsible for several production issues for tax reporting for the fiscal administration.
Expected behavior:
The tax amount and the credit/debit amount must be computed from the same rate.
Video/Screenshot link (optional):
https://youtu.be/kmXVzf3ApaM
Related issue : https://github.com/odoo/odoo/issues/13473
My proposal to fix this one : https://github.com/odoo/odoo/pull/13621
| https://github.com/odoo/odoo/issues/14024 | https://github.com/odoo/odoo/pull/14156 | 369e0bcb452f27176914ce0abcd872249fe9ee3c | 0a17be70e0b99cae0d87abc83f615af9e54900af | "2016-10-27T11:47:48Z" | python | "2016-11-07T12:35:54Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 14,007 | ["addons/website_portal_sale/models/payment.py", "addons/website_sale/controllers/main.py"] | [10] BUG - Sales order not confirmed when using stored card via Authorize.net | Impacted versions: [10.0]
Steps to reproduce: On Authorize.net configuration
Order Confirmation: Authorize the amount and confirm the SO on acquirer confirmation (capture manually)
Store Card Data: Always
Current behaviour
For Ecommerce Sales Order 1 - Customer selects Authorize.net and enters card details - checkout proceeds and customer is returned to Order confirmation page.
Sales Order Created, Payment Transaction Authorised, New Customer information record created on authorize.net sandbox.
For Ecommerce Sales Order 2 - Customer selects the card previously stored with authorize.net - checkout proceeds and customer is returned to Order confirmation page
Sales Quotation Created but **not converted to a sales order,** Payment Transaction Authorised
Expected behaviour
The Sales order confirmation behaviour should be the same for both methods of authorize.net checkout - standard card entry (1) or stored tokenised card (2)
| https://github.com/odoo/odoo/issues/14007 | https://github.com/odoo/odoo/pull/14625 | 7d968116bd020d0c8729e479d3fbaeb9a2f7ab4b | b64ac1f4541a09f9ddee5673cca9d77b9aef7bd9 | "2016-10-26T20:08:46Z" | python | "2016-12-09T07:49:36Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 13,987 | ["addons/hr_payroll/models/hr_payroll.py", "addons/hr_payroll/report/report_payslip_details.py"] | [10.0][hr_payroll] payslip missing account moves after validation | Impacted versions: 10.0
Steps to reproduce:
- define a rule with `Appears on Payslip` unticked and with account defined
- define a contract for an employee, and linked to a structure which has the modified rule
Current behavior: the rule is not computed and move is not written to journal.
Expected behavior: account move related to hidden rule should be present in salary journal
Video/Screenshot link (optional):
| https://github.com/odoo/odoo/issues/13987 | https://github.com/odoo/odoo/pull/14610 | 85160f8da2b2097ab9dfee8909bd4977eb133a2d | 2ab85a0783206767c54913acb6294dc01df31c7a | "2016-10-26T08:09:56Z" | python | "2016-12-08T08:07:53Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 13,925 | ["addons/hr_payroll/models/hr_payroll.py", "addons/hr_payroll/report/report_payslip_details.py"] | [10.0] Payroll payslip lines duplicated on each compute | Impacted versions:
10.0 + e
Steps to reproduce:
1) Create a salary rule that has 'appears_on_payslip' = False.
- An example would be a company contribution that the employee does not need to see.
2) Add it to a salary structure
3) run a payroll/payslip calculation
Current behavior:
Numerous thing.
1) Every time you compute sheet, you will duplicate these 'hidden' lines
2) details_by_salary_rule_category no longer has any of the hidden lines, though they certainly contribute to categories (e.g. tests will fail, and bad things)
3) when using hr_payroll_account, lines with contribution registers and accounts that SHOULD be on the journal entry are not !!
Expected behavior:
1) every time you compute the sheet, the lines should be deleted and recalculated
2) details_by_salary_rule_category should have all categories (to be able to make complex rules and tests)
3) journal entry should have a line for every line with an account
Pull Request eminent.
| https://github.com/odoo/odoo/issues/13925 | https://github.com/odoo/odoo/pull/14610 | 85160f8da2b2097ab9dfee8909bd4977eb133a2d | 2ab85a0783206767c54913acb6294dc01df31c7a | "2016-10-21T00:15:55Z" | python | "2016-12-08T08:07:53Z" |
closed | odoo/odoo | https://github.com/odoo/odoo | 13,857 | ["openerp/fields.py"] | web service error following the documentation for python | Impacted versions:10
Steps to reproduce:
Following the code in https://www.odoo.com/documentation/10.0/api_integration.html both in a fresh install and against 'https://demo.odoo.com/start' trows a type error
Current behavior:
Now I get an error when executing:
```
ids = models.execute_kw(db, uid, password, 'res.partner', 'search',
[[['is_company', '=', True], ['customer', '=', True]]],
{'limit': 1})
[record] = models.execute_kw(db, uid, password,
'res.partner', 'read', [ids])
# count the number of fields fetched by default
len(record)
```
In particular it seems to be a type error (cannot marshal class odoo.tools.float_utils.float_precision)
Expected behavior:
I would expect it to behave as in the documentation
| https://github.com/odoo/odoo/issues/13857 | https://github.com/odoo/odoo/pull/14125 | 929cfc26166d9bc59bd332a6f0533ae67ce65d80 | 3c3cced5d964f410f32c410cce1133f504bdad2f | "2016-10-18T08:16:17Z" | python | "2016-11-08T10:14:36Z" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.