Skip to Content
Menu
This question has been flagged
3 Replies
4469 Views

Hi,

I've tried installing point_of_sale module and I'vw got these errors.

NameError: variable @odoo-sheet-vpadding is undefined in - on line 1659, column 36:

1658 margin: @odoo-horizontal-padding auto;

1659 .o-webclient-padding(@top: @odoo-sheet-vpadding, @bottom: @odoo-sheet-vpadding);

1660 .o_account_reports_level0 {


This error occured while compiling the bundle 'web.assets_backend' containing:

    - /website/static/src/less/import_bootstrap.less

    - /web/static/src/less/variables.less

    - /web/static/src/less/enterprise_compatibility.less

    - /web/static/src/less/utils.less

    - /web/static/src/less/modal.less

    - /web/static/src/less/notification.less

    - /account/static/src/less/account_reconciliation.less

    - /account/static/src/less/account_journal_dashboard.less

    - /account_reports/static/src/less/account_financial_report.less

    - /base_import/static/src/less/import.less

    - /point_of_sale/static/src/less/pos_dashboard.less

    - /mail/static/src/less/announcement.less

    - /mail/static/src/less/client_action.less

    - /mail/static/src/less/chat_window.less

    - /mail/static/src/less/composer.less

    - /mail/static/src/less/chatter.less

    - /mail/static/src/less/thread.less

    - /sales_team/static/src/less/sales_team_dashboard.less

    - /web_tip/static/src/less/tip.less

    - /web_calendar/static/src/less/web_calendar.less

    - /web_diagram/static/src/less/diagram_view.less

    - /web_kanban/static/src/less/kanban_dashboard.less

    - /web_kanban/static/src/less/kanban_view.less

    - /web_settings_dashboard/static/src/less/dashboard.less

Avatar
Discard
Author Best Answer

Hi Thanks for all the suggestions. I've tried but it didn't worked.

I've tried another solution. But I don't know what really caused the problem, maybe something's wrong with setup 

This one worked for  me though.

I tried creating another system user 

    adduser username

Then I installed odoo-server . Please refer to the link below.

https://github.com/Yenthe666/InstallScript/blob/Enterprise/odoo_install.sh

That's it. Everything's fine now.


Avatar
Discard
Best Answer

Hello


Giezel,

Try to install less with following command and then update all modules.

    sudo apt-add-repository ppa:chris-lea/node.js
    sudo apt-get update
    sudo apt-get install nodejs
    sudo apt-get install npm
    sudo npm install -g less-plugin-clean-css
    sudo npm install -g less

Hope this will helps you,

Thanks

Avatar
Discard

I assume it should mean "sudo apt-get install npm" and not "np".

Related Posts Replies Views Activity
0
May 16
2837
3
Dec 20
9736
6
May 20
6954
2
Sep 16
2700
1
Sep 16
2322