Skip to content

Conversation

xmo-odoo
Copy link
Collaborator

No description provided.

@xmo-odoo xmo-odoo closed this May 14, 2014
@xmo-odoo xmo-odoo deleted the cleanup branch May 14, 2014 06:12
vaab pushed a commit to 0k/odoo that referenced this pull request Jul 24, 2014
[ADD] Changes to lp:openupgrade-server/8.0 so far (revno. 5147)
petrus-v pushed a commit to petrus-v/odoo that referenced this pull request Jan 8, 2015
…_webkit_security

[FIX][report_webkit] security: ir.config_parameter should not be readabl...
adrienpeiffer referenced this pull request in acsone/odoo Mar 18, 2015
Add some fix in Odoo core
mart-e added a commit that referenced this pull request Aug 26, 2015
Small one letter terms are ignored when pushing the translations.
If these are included inside xml tags (e.g. <strong>#1</strong>, the term should
also be ignored.
Strip xml eventual tags when checking the length of a term.
sebastienbeau referenced this pull request in akretion/odoo Feb 24, 2016
eantones referenced this pull request in nuobit/odoo Nov 10, 2016
…an inverse one2many.

Allow the modification/deletion of many2one fields that have an inverse one2many when uninstalling.

Code that fails:

```python
from odoo import api, fields, models, _

class Department(models.Model):
    _name = 'aa.department'

    name = fields.Char(string='Department Name')
    employee_ids = fields.One2many(comodel_name='aa.employee',
                                   inverse_name='department_id', string='Employees')

class Employee(models.Model):
    _name = 'aa.employee'

    name = fields.Char(string='Employee Name')
    department_id = fields.Many2one(comodel_name='aa.department', string='Department')
```

Errors before this fix:

```
2016-11-10 13:25:19,950 1786 INFO prova10 odoo.addons.base.ir.ir_model: Dropped FK CONSTRAINT aa_employee_department_id_fkey@aa.employee
2016-11-10 13:25:19,955 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.constraint records with IDs: [678]
2016-11-10 13:25:19,960 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 5008@ir.model.fields
2016-11-10 13:25:19,961 1786 INFO prova10 odoo.addons.base.ir.ir_model: Unable to delete 5008@ir.model.fields
Traceback (most recent call last):
  File "/home/eantones/Documents/NuoBiT/dev/odoo/test10/odoo/odoo/addons/base/ir/ir_model.py", line 1278, in unlink_if_refcount
    self.env[model].browse(res_id).unlink()
  File "/home/eantones/Documents/NuoBiT/dev/odoo/test10/odoo/odoo/addons/base/ir/ir_model.py", line 452, in unlink
    self._prepare_update()
  File "/home/eantones/Documents/NuoBiT/dev/odoo/test10/odoo/odoo/addons/base/ir/ir_model.py", line 439, in _prepare_update
    raise UserError(msg % (field, model._field_inverses[field][0]))
UserError: (u"The field 'aa.employee.department_id' cannot be removed because the field 'aa.department.employee_ids' depends on it.", None)
2016-11-10 13:25:19,966 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 5006@ir.model.fields
2016-11-10 13:25:19,983 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10615]
2016-11-10 13:25:19,985 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [5006]
2016-11-10 13:25:19,994 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 5003@ir.model.fields
2016-11-10 13:25:20,004 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10612]
2016-11-10 13:25:20,005 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [5003]
2016-11-10 13:25:20,008 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 5002@ir.model.fields
2016-11-10 13:25:20,020 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10611]
2016-11-10 13:25:20,021 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [5002]
2016-11-10 13:25:20,032 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 4998@ir.model.fields
2016-11-10 13:25:20,046 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10606]
2016-11-10 13:25:20,047 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [4998]
2016-11-10 13:25:20,054 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 4995@ir.model.fields
2016-11-10 13:25:20,066 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10603]
2016-11-10 13:25:20,066 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [4995]
2016-11-10 13:25:20,069 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 4994@ir.model.fields
2016-11-10 13:25:20,077 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10602]
2016-11-10 13:25:20,078 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [4994]
2016-11-10 13:25:20,080 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 4993@ir.model.fields
2016-11-10 13:25:20,088 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10601]
2016-11-10 13:25:20,089 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.fields records with IDs: [4993]
2016-11-10 13:25:20,096 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 369@ir.model
2016-11-10 13:25:20,101 1786 INFO prova10 odoo.addons.base.ir.ir_model: Unable to delete 369@ir.model
Traceback (most recent call last):
  File "/home/eantones/Documents/NuoBiT/dev/odoo/test10/odoo/odoo/addons/base/ir/ir_model.py", line 1278, in unlink_if_refcount
    self.env[model].browse(res_id).unlink()
  File "/home/eantones/Documents/NuoBiT/dev/odoo/test10/odoo/odoo/addons/base/ir/ir_model.py", line 136, in unlink
    model.field_id._prepare_update()
  File "/home/eantones/Documents/NuoBiT/dev/odoo/test10/odoo/odoo/addons/base/ir/ir_model.py", line 439, in _prepare_update
    raise UserError(msg % (field, model._field_inverses[field][0]))
UserError: (u"The field 'aa.employee.department_id' cannot be removed because the field 'aa.department.employee_ids' depends on it.", None)
2016-11-10 13:25:20,101 1786 INFO prova10 odoo.addons.base.ir.ir_model: Deleting 368@ir.model
2016-11-10 13:25:20,117 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10598]
2016-11-10 13:25:20,118 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model records with IDs: [368]
2016-11-10 13:25:20,125 1786 INFO prova10 odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [10598, 10600, 10599, 10606, 10602, 10607, 10603, 10601, 10605, 10604, 10610, 10609, 10615, 10616, 10612, 10611, 10614, 10613]
2016-11-10 13:25:20,154 1786 INFO prova10 odoo.modules.loading: Reloading registry once more after uninstalling modules
2016-11-10 13:25:20,165 1786 INFO prova10 odoo.modules.loading: loading 1 modules...
2016-11-10 13:25:20,181 1786 INFO prova10 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries
2016-11-10 13:25:20,278 1786 INFO prova10 odoo.modules.loading: loading 35 modules...
2016-11-10 13:25:20,333 1786 INFO prova10 odoo.modules.loading: 35 modules loaded in 0.05s, 0 queries
2016-11-10 13:25:20,536 1786 INFO prova10 odoo.modules.loading: Modules loaded.
```
grindtildeath referenced this pull request in camptocamp/odoo Dec 15, 2016
also translate the description on account.tax
alan196 referenced this pull request in Jarsa-dev/odoo Jul 19, 2017
mdietrichc2c referenced this pull request in camptocamp/odoo Aug 16, 2017
mvaled added a commit to merchise-autrement/odoo that referenced this pull request Oct 3, 2017
Otherwise, when loading the logged user would not have access to the
`ir.module.module` and this rather technical operation fail.

Fixes odoo#1
Closes !1.
robodoo pushed a commit that referenced this pull request Feb 9, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

closes #108521

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 10, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

X-original-commit: 249de26
robodoo pushed a commit that referenced this pull request Feb 10, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

closes #112305

X-original-commit: 249de26
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 13, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

X-original-commit: 0d1150f
robodoo pushed a commit that referenced this pull request Feb 13, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

closes #112448

X-original-commit: 0d1150f
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 13, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

X-original-commit: e0afc65
robodoo pushed a commit that referenced this pull request Feb 13, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

closes #112501

X-original-commit: e0afc65
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
robodoo pushed a commit that referenced this pull request Feb 14, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

X-original-commit: 9ff7c2c
robodoo pushed a commit that referenced this pull request Feb 14, 2023
Issue #1: reading textContent

When reading the textContent property of an element, its does not take into
account line breaks introduced by <br> and block elements, whilst innerHtml
does.

This commit solves the issue of updating a link's href to a non-sense url
upon label change. Before this commit, "www.abc.com <br> www.xyz.com" was
being incorrectely parsed as "www.abc.comwww.xyz.com".

Issue #2: setting textContent

When setting the textContent property of an element, all of its child nodes are
removed and replaced by a single text node. While this is fine when the
element contains a single text node, it might not be the desired result when
the element contains other children.

This commit solves the issue obtained when pasting html such as
"link.com<br>link.be" inside an empty inline element such as STRONG or A,
in which cleanForSave was changing its content (removing the line-break) due
to misuse of textContent, when the intended effected was simply removing
ZeroWidthSpace characters. A safer alternative for removing ZeroWidthSpace is
thus provided.

task-3081254

closes #112579

X-original-commit: 9ff7c2c
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
thachln added a commit to thachln/odoo that referenced this pull request Jul 20, 2023
2023-07-19 10:09:10,462 1166930 INFO odoo16 odoo.modules.loading: updating modules list
2023-07-19 10:09:10,463 1166930 INFO odoo16 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ odoo#1 via 10.0.0.77
2023-07-19 10:09:11,059 1166930 INFO odoo16 odoo.modules.loading: loading 118 modules...
2023-07-19 10:09:11,118 1166930 INFO odoo16 odoo.modules.loading: 118 modules loaded in 0.06s, 0 queries (+0 extra)
2023-07-19 10:09:11,121 1166930 INFO odoo16 odoo.modules.loading: loading 119 modules...
2023-07-19 10:09:11,121 1166930 INFO odoo16 odoo.modules.loading: Loading module auth_cas (44/119)
2023-07-19 10:09:11,123 1166930 CRITICAL odoo16 odoo.modules.module: Couldn't load module auth_cas
2023-07-19 10:09:11,123 1166930 CRITICAL odoo16 odoo.modules.module: cannot import name 'login_and_redirect' from 'odoo.addons.web.controllers.main' (/opt/odoo16/odoo/addons/web/controllers/main.py)
2023-07-19 10:09:11,125 1166930 WARNING odoo16 odoo.modules.loading: Transient module states were reset
2023-07-19 10:09:11,126 1166930 ERROR odoo16 odoo.modules.registry: Failed to load registry
2023-07-19 10:09:11,128 1166930 ERROR odoo16 odoo.http: Exception during request handling.
Traceback (most recent call last):
  File "/opt/odoo16/odoo/odoo/http.py", line 1991, in __call__
    response = request._serve_db()
  File "/opt/odoo16/odoo/odoo/http.py", line 1587, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/opt/odoo16/odoo/odoo/service/model.py", line 134, in retrying
    result = func()
  File "/opt/odoo16/odoo/odoo/http.py", line 1614, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/opt/odoo16/odoo/odoo/http.py", line 1811, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/opt/odoo16/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
    response = super()._dispatch(endpoint)
  File "/opt/odoo16/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
    result = endpoint(**request.params)
  File "/opt/odoo16/odoo/odoo/http.py", line 700, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/opt/odoo16/odoo/addons/web/controllers/dataset.py", line 46, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "/opt/odoo16/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo16/odoo/odoo/api.py", line 461, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/opt/odoo16/odoo/odoo/api.py", line 448, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-74>", line 2, in button_immediate_install
  File "/opt/odoo16/odoo/odoo/addons/base/models/ir_module.py", line 76, in check_and_log
    return method(self, *args, **kwargs)
  File "/opt/odoo16/odoo/odoo/addons/base/models/ir_module.py", line 491, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/opt/odoo16/odoo/odoo/addons/base/models/ir_module.py", line 615, in _button_immediate_function
    registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "<decorator-gen-14>", line 2, in new
  File "/opt/odoo16/odoo/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/opt/odoo16/odoo/odoo/modules/registry.py", line 90, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/opt/odoo16/odoo/odoo/modules/loading.py", line 487, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/opt/odoo16/odoo/odoo/modules/loading.py", line 371, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/opt/odoo16/odoo/odoo/modules/loading.py", line 188, in load_module_graph
    load_openerp_module(package.name)
  File "/opt/odoo16/odoo/odoo/modules/module.py", line 432, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/opt/odoo16/odoo/addons/auth_cas/__init__.py", line 3, in <module>
    from . import controllers
  File "/opt/odoo16/odoo/addons/auth_cas/controllers/__init__.py", line 3, in <module>
    from . import main
  File "/opt/odoo16/odoo/addons/auth_cas/controllers/main.py", line 7, in <module>
    from odoo.addons.web.controllers.main import login_and_redirect
ImportError: cannot import name 'login_and_redirect' from 'odoo.addons.web.controllers.main' (/opt/odoo16/odoo/addons/web/controllers/main.py)
2023-07-19 10:09:11,128 1166930 INFO odoo16 werkzeug: 10.0.0.77 - - [19/Jul/2023 10:09:11] "POST /web/dataset/call_button HTTP/1.0" 200 - 1115 0.564 0.260
2023-07-19 10:09:11,146 1166930 INFO odoo16 odoo.modules.loading: loading 1 modules...
2023-07-19 10:09:11,152 1166930 INFO odoo16 odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries (+0 extra)
2023-07-19 10:09:11,194 1166930 INFO odoo16 odoo.modules.loading: loading 118 modules...
2023-07-19 10:09:11,252 1166930 INFO odoo16 odoo.modules.loading: 118 modules loaded in 0.06s, 0 queries (+0 extra)
baydakovss added a commit to baydakovss/odoo that referenced this pull request Jan 19, 2024
rkanapka referenced this pull request in rkanapka/odoo May 1, 2024
aletto pushed a commit to aletto/odoo17 that referenced this pull request Jul 8, 2024
* [WIP] 
        Migro a 15.0
	- Agrego soporte para webservice  MiPyme para obtener datos del cliente
	- Divido la lógica de conexión a los servicios por servicio para facilitar la lectura de código
        - Agrego el modulo CAEA para emisión de comprobantes por esta metodología
        - Agrego compatibilidad con post requiriendo cae en la función _post
        - Mejoro soporte para pos
        - Agrego y un modulo que me permite realizar notas de crédito desde el modulo "Punto de venta"
	- Reportes Elimino aero de las dependencias y agrego los cambios enviados por adolfo (no hay PR)
        - Pos avanzo con la preparación del ticket de pos
        - Dejo funcional el reporte de iva
        - Aplico BLACK para formatear codigo
        - Corrijo Errores reportados por  runbot
        -  Quito otros Soap fault
* [FIX] error al imprimir reporte de factura / QR escaneable (odoo#1)

Co-authored-by: Gabriela Rivero <regaby@gmail.com>
wywang66 pushed a commit to wywang66/odoo that referenced this pull request Jul 11, 2024
Merge latest changes to current build
informaticeng0011 added a commit to informaticeng0011/odoo_18.0 that referenced this pull request Apr 11, 2025
robodoo pushed a commit that referenced this pull request Jun 5, 2025
This commit fixes an issue where modifying an image's shape would crash
if the image originated from a snippet that applied a shape by default.
The crash was due to a missing `originalSrc` attribute in the image's
dataset.

This bug was introduced by the website refactor [1], which removed
the `_initializeImage` method that was in `ImageTools`.
This method previously applied a regex to determine the correct URL
when `loadImageInfo` was called.

The fix reintroduces the necessary regex logic directly into the
`loadImageInfo` function. This logic now also accounts for `html_editor`
paths to ensure future compatibility when `image_shape` elements are
migrated from `web_editor`.

Steps to reproduce:
- Drop `s_mockup_image` snippet
- Click on the image
- Click to modify its shape from `MacBook #1` to another shape
- The operation should now work without traceback

[1]: 9fe45e2

Related to task-4367641

closes #213018

Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
robodoo pushed a commit that referenced this pull request Sep 12, 2025
Steps to reproduce Bug #1:
- Add Custom Lot/Serial to a product
- Create a manufactoring order with a quantity > 1
- Confirm and Generate Serial

Problem:
First SN is not prefilled by the Custom Lot/Serial added.

Steps to reproduce Bug #2:
- Create a duplicate from the previous MO
- Generate Serial Numbers

Problem:
First SN is not updated and generates serial numbers starting with "1"
again rather than incrementing the previous serial number.

Note: On adding new serial numbers different than the custom
(changing the prefilled First SN), it will only be applied
on that specfic MO only.
To apply it to any new MO, it must be added to the Custom Lot/Serial
field in the product form.

closes #226046

Signed-off-by: William Henrotin (whe) <whe@odoo.com>
robodoo pushed a commit that referenced this pull request Sep 15, 2025
Steps to reproduce Bug #1:
- Add Custom Lot/Serial to a product
- Create a manufactoring order with a quantity > 1
- Confirm and Generate Serial

Problem:
First SN is not prefilled by the Custom Lot/Serial added.

Steps to reproduce Bug #2:
- Create a duplicate from the previous MO
- Generate Serial Numbers

Problem:
First SN is not updated and generates serial numbers starting with "1"
again rather than incrementing the previous serial number.

Note: On adding new serial numbers different than the custom
(changing the prefilled First SN), it will only be applied
on that specfic MO only.
To apply it to any new MO, it must be added to the Custom Lot/Serial
field in the product form.

closes #227095

Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant