Giter VIP home page Giter VIP logo

web's Issues

Standardize web_m2x_options boolean parameters

Boolean parameters in module web_m2x_options are declared with lowercase characters in views (true/false) and in capital letters in the system parameters (True/False).

One way should be chosen and used everywhere, or they should be automatically put to lowercase so that the user can use both ways.

'web_color' module doesn't work

Hi all,

I tried today to use 'web_color' module, but it failed. Description of the module is very small. Are some people that use it in some custom modules ?
Regards.

My code:

[From Model]

class MyModel(Model):
    _columns = {
        'color': fields.char(
            'Color', size=7,
            help="Color of the Price Tag by default. Format #RRGGBB"),

[From view]

 field name="color" widget="color"

[from openerp file]

depends = ['web_color']

At the end, i have a Javascript error. (Mozilla / Chrome)

TypeError: obj is not a constructor

web tree view presenting download link instead of picture

I installed both the apps web_tree_image and product_image_list_view and I am still getting only download links instead of images in tree view. In sale order line, I am able to see an image. But when I edit the product.template tree view (warehouse -> products) to add "" I am seeing only download link instead of the images.

After some debugging, I found out that "row_data[this.id].value" in js returns the size string ("xxxx bytes"/"xxxx kB",..) instead of the binary value. This results in

img src="data:image/png;base64,127 kB" width="64px" height="64px"

Notice the string"127 kB" after base64. Here the value of field should be printed out.

I am using bitnami odoo instance 8.0-8 which uses odoo nightly version 8.0-20150423

web_environment_ribbon, hides menu bar

Thanks for you nice work on it, but.

module: web_environment_ribbon
version: 8.0
current firefox

Steps to reproduce

  • install the module

Current behavior
The ribbon hides the menu bar

Expected behavior
Could you add a margin-top, please

[IMP] help_online and help_popup should be merged.

Both modules has interesting concepts and basically the same bad things.

I did something like this concepts for v7.0 and I think the concept is almost mandatory, then to bring back a strong solution I propose:

  • From help_online the concept of a functional user editing the help is cool.
  • From help_popup the concept of mnantain original help, technical help and functional help is good.
  • We can have 2 modules compliimentary help_online which add the button with a pretty fontoawesome icon to respect the iconography of odoo and a website_help_online which add the edit inline feature.
  • Propose read the doc/index.rst file to prefill the documentation (odoo already mange this elements for apps, we should take that approach.
  • Make a proper PR and open the discussion.
  • For compatibility issues we should not delete the original ones until a proper survey to ensure not brake compatibility inside the same stable version.

This is a basic TODO list if original creators @rvalyi and @lmignon think different this is an open issue to start the discussion or may be they have strongest ideas to put here and may be already started the job.

traceback info with runbot on "settings" menu

Get this traceback in http://3110944-8-0-206567.runbot1.odoo-community.org

Odoo Server Error

Traceback (most recent call last):
File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3110944-8-0-206567/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3110944-8-0-206567/openerp/http.py", line 1413, in _dispatch_nodb
func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()
File "/srv/openerp/instances/openerp-oca-runbot/sandbox/local/lib/python2.7/site-packages/werkzeug/routing.py", line 1430, in match
raise NotFound()
NotFound: 404: Not Found

Tested with Aeroo Templates?

Hi, I have try to test the ckeditor4 modul with aeroo templates.
But the aeroo templates are printed with the html-codes from the editor.
for example:

.

Have anyone a fix for the aeroo Templates ? or something?
Thanks...

Date format

Dates are exported as "General" format which makes excel calculations a problem. Can you revert this back to the way it was? Export dates as "Date" format.

[TEST] The module help_online has incorrect dependencies.

The module help_online depende of anybox for testing, is that ok for us? when you run with test enabled and such modules intitated you receive this message:

2015-08-06 07:00:37,218 26341 ERROR vauxoo openerp.modules.module: Can not `import help_online`.
Traceback (most recent call last):
  File "/Users/nhomar/Trabajo/odoo80/openerp/modules/module.py", line 377, in get_test_modules
    mod = importlib.import_module('.tests', modpath)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/nhomar/Trabajo/web/help_online/tests/__init__.py", line 20, in <module>
    from . import test_export_help_wizard
  File "/Users/nhomar/Trabajo/web/help_online/tests/test_export_help_wizard.py", line 25, in <module>
    from anybox.testing.openerp import SharedSetupTransactionCase
ImportError: No module named anybox.testing.openerp

can't open in Local Models

after installed, I can't open it in Local models, here is pop error message:

Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/opt/odoo/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/addons/web/controllers/main.py", line 944, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 3141, in read
result = BaseModel.read(records, fields, load=load)
File "/opt/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 3176, in read
self._read_from_database(stored, inherited)
File "/opt/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 3354, in _read_from_database
res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)
File "/opt/odoo/openerp/osv/fields.py", line 1468, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/opt/odoo/openerp/addons/base/module/module.py", line 186, in _get_desc
output = publish_string(source=module.description or '', settings_overrides=overrides, writer=MyWriter())
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/core.py", line 217, in publish
self.settings)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/readers/init.py", line 72, in read
self.parse()
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/readers/init.py", line 78, in parse
self.parser.parse(self.input, document)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/init.py", line 172, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 170, in run
input_source=document['source'])
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2726, in underline
self.section(title, source, style, lineno - 1, messages)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 327, in section
self.new_subsection(title, lineno, messages)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
node=section_node, match_titles=True)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
node=node, match_titles=match_titles)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 195, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 1135, in indent
elements = self.block_quote(indented, line_offset)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 1150, in block_quote
self.nested_parse(blockquote_lines, line_offset, blockquote)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
node=node, match_titles=match_titles)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 195, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
context, state, transitions)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2720, in underline
source=src, line=srcline)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/utils/init.py", line 235, in severe
return self.system_message(self.SEVERE_LEVEL, _args, *_kwargs)
File "/home/odoo/odoo/lib/python2.7/site-packages/docutils/utils/init.py", line 193, in system_message
raise SystemMessage(msg, level)
SystemMessage: :19: (SEVERE/4) Unexpected section title.

Usage

[8.0] web_widget_x2many_2d_matrix: Doesn't work with Many2one fields for axis 'x' and 'y'

I want to use the oca widget to display and edit some data in a 2D Matrix.
In this repo: https://github.com/jjrevilla/test_widget_matrix, I tried to reproduce the image of example at readme of project:
screenshot

Main Model:

class Manager(models.Model):
    _name = 'test.matrix.manager'
    task_id = fields.One2many('test.matrix.task', 'manager_id', string='Tasks')
    date_begin = fields.Date(string='From')
    date_end = fields.Date(string='To')

Related Model:

class TasK(models.Model):
    _name = 'test.matrix.task'
    employee_id = fields.Many2one('test.matrix.employee', string='Employee')
    project_id = fields.Many2one('test.matrix.project', string='Project')
    planned_hours = fields.Integer(string='Hours Assigned')
    manager_id = fields.Many2one('test.matrix.manager', string='Manager')  

Form View:

<field name="task_id" widget="x2many_2d_matrix" field_x_axis="employee_id" field_y_axis="project_id" field_value="planned_hours" />       

But the view that i get is:
seleccion_001

@hbrunn, Is this widget ment to be used different, or am I doing something wrong?

web_easy_switch_company: menu items wrapping

I've noticed an issue that when the "easy switch company" menu item is inserted into the top bar, the other menu items don't "contract" to make space for this new item, and thus the new item wraps to the next line.

However, on screen resize the "menu_bound" event is executed and the size of the section with normal menu items is recalculated, some items are shifted to the "More" menu, and it all fits again.

I've found a workaround which is to add the following code to instance.web.UserMenu.init in switch_company.js,

        $(document).ready(function(ev) {
            openerp.web.bus.trigger('resize');
        });

It doesn't seem to be the cleanest solution, but at least it works. Anybody else has noticed the same?

Issue whit multicompany switching

At this moment I don't have isolate if this is a problem with web_easy_switch_company module or with odoo itself as don't know in deep how the context works.

The situation is as follows:
1.- User have been working with with company A and switch to company B
2.- User tries to print a quotation or a so and gets and permission denied error on partner object, because user object in report thread have company set to A.

Please advice on how can we debug and correct this situation.

web_advanced_search_x2x automatically excludes inactive records

If I use web_advanced_search_x2x for example in reporting>invoice analysis, to search for articles with certain features (for example a specific pricelist), it automatically also restricts to the active articles only.
Inactive articles are excluded and can't be re-included afterwards.
If want to include inactives, I must search for products with "my criteria AND (active=true OR active=false)".

It would be nicer to not exclude inactive records by default.

Get an error each time I log into Odoo

Only web_shortcuts is installed.

Odoo Server Error

Traceback (most recent call last):
  File "/home/odoo/openerp/http.py", line 518, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo/openerp/http.py", line 539, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo/openerp/http.py", line 295, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/openerp/http.py", line 292, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/odoo/openerp/http.py", line 755, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/openerp/http.py", line 388, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/addons/web/controllers/main.py", line 949, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/addons/web/controllers/main.py", line 941, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'get_user_shortcuts'

Bugs related to mrp_production_real_cost and mrp_production_stimated_cost

Testing the last versions of those modules I could find the following errors on them

  1. The button "upload cost" to product is uploading the price negative (-206.60) to product form. It should be positive (206.60)
  2. Real cost is informing the fields avg_cost and manual_stimated_cost in analytic line. This is incorrect. They should be zero. Real cost must assing a value only in field amount on analytic line. Otherwise it's duplicating the stimated cost.
    This was working before. The bug has been introduced on a merge made on summer or september.
  3. Created final product related quant value is cero. It should be the total real cost(sum amount) / produced units. The final product related move has got a value on price_unit field. It seems that is not copied on quant cost field,

I still need to test more. But It's quite urgent we solve these bugs asap.
Thank you:
Ana

Implementing color picker in forms / calendar items

Hi guys,

The module 'web_widget_color' is really great and cool. I was wondering if it would be possible to add support for (calendar) items in kanban view? There is currently nothing built that gives the ability to modify colors on calendar items and/or calendar users.
Give me some ideas / input and I will try to contribute. I personally need the ability to set colors on agenda items so I'll try to extend it in this module?

With kind regards,
Yenthe

[8.0] web_ckeditor4 javascript error in Webkit based navigators when saving

module: web_ckeditor4
version: 8.0

Steps to reproduce

  • Open a record containing a text_html widget in a Webkit based navigator (Chrome, Safari)
  • Edit, leave the value in the text_html empty
  • Save

Current behaviour
It raises the following error:
TypeError: undefined is not an object (evaluating 'self.editor.name').

Expected behaviour
The record should be saved without errors

/cc @StefanRijnhart

[8.0][BUG] web_advanced_search_x2x - Wrong queries in filters

Hi @hbrunn ,

This happends with any query but I will show here only one.

I would like to filter projects which User (uid) is "manager" OR "member" or "follower".

In Odoo core we cannot make this search because the follower are res.partner and not res.user then we need to select Follower -> Is in selection and then in res.parter search User -> the user.

When Odoo creates the filter for this you can only select the res.partner and this is the query:

 ['|',
 '|', ['message_follower_ids', '=', 748], ['members', '=', 52],
 ['user_id', '=', 52],
 ['state', '!=', 'close'], ['state', '!=', 'cancelled']]

When I create the query using advance search it make this wrong:

 [['message_follower_ids.id', 'in', [748]], ['members', '=', 52], ['user_id', '=', 52],
 ['state', '!=', 'close'], ['state', '!=', 'cancelled']]

But it must create this:

 ['|',
 '|', ['message_follower_ids.user_ids', '=', 748], ['members', '=', 52],
 ['user_id', '=', 52],
 ['state', '!=', 'close'], ['state', '!=', 'cancelled']]

Regards

Favicon feature

It would be nice to be have a feature allowing to set the favicon for an Odoo instance or, if possible, depending on the active Company.

Can experts comment if this is feasible? Given some guidelines I could try a PR.

web_export_view - Export all rows of view

When a user checks the "check all" check box at the top of a tree, web_export_view should export all rows of the related tree view using the domain, not just the currently visible rows.

Unable to uninstall, get an error

Odoo Server Error

Traceback (most recent call last):
  File "/home/odoo/openerp/http.py", line 518, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo/openerp/http.py", line 539, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo/openerp/http.py", line 295, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/openerp/http.py", line 292, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/odoo/openerp/http.py", line 755, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/openerp/http.py", line 388, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/addons/web/controllers/main.py", line 953, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/odoo/addons/web/controllers/main.py", line 941, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/odoo/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/openerp/addons/base/module/wizard/base_module_upgrade.py", line 105, in upgrade_module
    openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/home/odoo/openerp/modules/registry.py", line 346, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/odoo/openerp/modules/loading.py", line 431, in load_modules
    registry['ir.module.module'].module_uninstall(cr, SUPERUSER_ID, modules_to_remove.values())
  File "/home/odoo/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/openerp/addons/base/module/module.py", line 462, in module_uninstall
    ir_model_data._module_data_uninstall(cr, uid, modules_to_remove, context)
  File "/home/odoo/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/openerp/addons/base/ir/ir_model.py", line 1207, in _module_data_uninstall
    ir_model_constraint._module_data_uninstall(cr, uid, constraint_ids, context)
  File "/home/odoo/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/openerp/addons/base/ir/ir_model.py", line 577, in _module_data_uninstall
    model_obj = self.pool[model]
  File "/home/odoo/openerp/modules/registry.py", line 101, in __getitem__
    return self.models[model_name]
KeyError: u'web.shortcut'

Suggestion web-lang a language based CSS

Dears,

I would suggest the web-lang module to be added to OCA.

this module adds support for language based css files to load modules and attributes like language direction and styles.

Also there are other general modules like:

  • sale and invoice discount information in the web and in reports.
  • report-rtl for RTL reports.

https://github.com/mohamedhagag/dvit-odoo8

Regards,

web_export_view Breaks native xls exportation

When web_export_view is installed, the xls exportation through "More"->"Export" and changing csv to Excel stops working and raises the following javascript error:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Tested with 6c9f88b and Odoo version 25b1df2

help_online not working in Chrome

Tried the help_online module today but it did not work on Chrome (Latest - Version 44.0.2403.125 m). Opened up the same site on Firefox and it worked. Is this a known issue? Are there workarounds?

[8.0] web_advanced_search_x2x - Javascript error

module: web_advanced_search_x2x
version: 8.0

Steps to reproduce

  • Install project module
  • Go to project -> tasks
  • Unfold advanced search
  • Select "stage" field
  • click on the down arrow

Current behavior

The following client error appears:

Uncaught Error: NameError: name 'project_id' is not defined

Expected behavior

The drop-down appears allowing to select the stage

Migration to version 9.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0

Modules to migrate

web_nocreatedb: Trying to port to v8, unsuccessfully

Hi,

I am trying to port module web_nocreatedb to v8, without success, so far.

I have some doubts regarding the qweb inheritance, as well as I see difference usage in v7 and v8.

  • In v7, the template to inherit and modify (with "Manage Databases" link) is in: web/static/src/xml/base.xml, which is added in 'qweb' within openerp.py
  • In v8, such template is in: web/views/webclient_templates.xml, which is added in 'data' within openerp.py

The exact template to modify in v8 is:

        <template id="web.login_layout" name="Login Layout">

specifically, this part:

                    <div class="oe_single_form_footer" t-if="not disable_footer">
                        <t t-if="not disable_database_manager">
                            <a class="oe_login_manage_db" t-attf-href="/web/database/manager{{ '?debug' if debug else '' }}">Manage Databases</a>
                            <span class="oe_footer_seperator"> | </span>
                        </t>
                        <a href="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a>
                    </div>

Previous thoughts:

  • I am running Odoo with:
    openerp-gevent -c my_config_file --load=web,web_nocreatedb --database=my_db
  • 'auto_install' key in openerp.py seems to be ignored.

First I tried to just change what is in web_nocreatedb v7 to point to the new ids, but doesn't seem to work, complaining about not boing within tags.
Then I tried to move it web_nocreatedb/views/webclient_templates.xml, but nothing seems to work either.
Now I have this:

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <template id="login_layout_no_db" inherit_id="web.login_layout" name="Login Layout">
            <t t-jquery="div[class='oe_single_form_footer']" t-operation="replace">
                <div class="oe_single_form_footer">
                    <a href="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a>
                </div>
            </t>
        </template>
    </data>
</openerp>

Also tried with xpath:

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <template id="login_layout_no_db" inherit_id="web.login_layout" name="Login Layout">
            <xpath expr="//div[class='oe_single_form_footer']" position="replace">
                <div class="oe_single_form_footer">
                    <a href="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a>
                </div>
            </xpath>
        </template>
    </data>
</openerp>

But in both cases I get this error:

2015-03-02 12:47:17,822 17312 ERROR forbe__v8_13_clone openerp.addons.base.ir.ir_ui_view: El elemento '<xpath expr="//div[class='oe_single_form_footer']">' cannot be located in parent view

Context error:
View `Login Layout`
[view_id: 870, xml_id: n/a, model: n/a, parent_id: 171]

Any direction to correctly port this module?

[8.0] web_group_expand - expand buttons shown multiple times

Checked on runbot, when you go to Sales > Products > Products by Categories, and you enter into a product and then go back, the expand buttons are shown in multiple cases. This has been spotted only here, but I think that is a problem with this kind of view.

image

image

[8.0] web_ckeditor4 does not work in email templates/mako

With the web_ckeditor4 enabled, editing an email template breaks the template.

The code before saving is, for example:

       % if object.origin:
       &nbsp;&nbsp;Order reference: ${object.origin}<br />
       % endif

and after saving:

% if object.origin: &nbsp;&nbsp;Order reference: ${object.origin}<br />
% endif %

The missing enters break the mako formatting engine, you have to edit the template by hand..
This is in 8.0.
(Ninja edit, %endif is not removed)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.