Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Invoicing (account)
• Sales Management (sale) • Discuss (mail) |
Technical Name |
sale_discount_total |
Website | http://www.cybrosys.com |
Versions | 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 |
Global Discount In Sale
Global Discount In Sale
Cybrosys Technologies

Overview
This module allows you to mention discount on Total of sale order and Total of Customer Invoice as percentage or as amount.
Features
Select 'Percentage' from Discount type and give discount percentage as Discount rate.
Select 'Amount' from Discount type and give discount amount as Discount rate.
System will update the value of Discount and Total
Screenshots
Sale Order

Customer Invoice

And the module also allows you to set a limit for total discount in percentage. Exceeding this limit will require approval.

Manager level users can approve sale orders in 'Waiting Approval' stage.

Our Services

Odoo Customization

Odoo Implementation

Odoo Integration

Odoo Support

Hire Odoo Developers
Our Industries

Trading
Easily procure and sell your products.

Manufacturing
Plan, track and schedule your operations.

Restaurant
Run your bar or restaurant methodical.

POS
Easy configuring and convivial selling.

E-commerce & Website
Mobile friendly, awe-inspiring product pages.

Hotel Management
An all-inclusive hotel management application.

Education
A Collaborative platform for educational management.

Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedbug
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 648, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 685, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 321, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 314, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 964, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 514, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 903, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 895, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 381, in old_api result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 6071, in onchange record._onchange_eval(name, field_onchange[name], result) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5928, in _onchange_eval method_res = method(self) File "/usr/lib/python2.7/dist-packages/openerp/addons/account/models/account_invoice.py", line 447, in _onchange_invoice_line_ids taxes_grouped = self.get_taxes_values() File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/account/models/account_invoice.py", line 580, in get_taxes_values val = self._prepare_tax_line_vals(line, tax) File "/usr/lib/python2.7/dist-packages/openerp/addons/account/models/account_invoice.py", line 557, in _prepare_tax_line_vals 'base': tax['base'], KeyError: 'base'
Still error : KeyError: 'base' for odoo 9 CE
Traceback (most recent call last): File "/opt/odoo9/openerp/http.py", line 648, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo9/openerp/http.py", line 685, in dispatch result = self._call_function(**self.params) File "/opt/odoo9/openerp/http.py", line 321, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo9/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo9/openerp/http.py", line 314, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo9/openerp/http.py", line 964, in __call__ return self.method(*args, **kw) File "/opt/odoo9/openerp/http.py", line 514, in response_wrap response = f(*args, **kw) File "/opt/odoo9/addons/web/controllers/main.py", line 888, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo9/addons/web/controllers/main.py", line 880, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo9/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo9/openerp/api.py", line 354, in old_api result = method(recs, *args, **kwargs) File "/opt/odoo9/addons/account/models/account_invoice.py", line 347, in create invoice.compute_taxes() File "/opt/odoo9/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/opt/odoo9/addons/account/models/account_invoice.py", line 423, in compute_taxes tax_grouped = invoice.get_taxes_values() File "/opt/odoo9/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/opt/odoo9/addons/account/models/account_invoice.py", line 584, in get_taxes_values val = self._prepare_tax_line_vals(line, tax) File "/opt/odoo9/addons/account/models/account_invoice.py", line 561, in _prepare_tax_line_vals 'base': tax['base'], KeyError: 'base'
Still get this error
Odoo Server Error Traceback (most recent call last): File "/odoo2/odoo2-server/openerp/http.py", line 648, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo2/odoo2-server/openerp/http.py", line 685, in dispatch result = self._call_function(**self.params) File "/odoo2/odoo2-server/openerp/http.py", line 321, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo2/odoo2-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/odoo2/odoo2-server/openerp/http.py", line 314, in checked_call result = self.endpoint(*a, **kw) File "/odoo2/odoo2-server/openerp/http.py", line 964, in __call__ return self.method(*args, **kw) File "/odoo2/odoo2-server/openerp/http.py", line 514, in response_wrap response = f(*args, **kw) File "/odoo2/odoo2-server/addons/web/controllers/main.py", line 888, in call_kw return self._call_kw(model, method, args, kwargs) File "/odoo2/odoo2-server/addons/web/controllers/main.py", line 880, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/odoo2/odoo2-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/odoo2/odoo2-server/openerp/api.py", line 381, in old_api result = method(recs, *args, **kwargs) File "/odoo2/odoo2-server/openerp/models.py", line 6083, in onchange record._onchange_eval(name, field_onchange[name], result) File "/odoo2/odoo2-server/openerp/models.py", line 5940, in _onchange_eval method_res = method(self) File "/odoo2/odoo2-server/addons/account/models/account_invoice.py", line 447, in _onchange_invoice_line_ids taxes_grouped = self.get_taxes_values() File "/odoo2/odoo2-server/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/odoo2/odoo2-server/addons/account/models/account_invoice.py", line 585, in get_taxes_values val = self._prepare_tax_line_vals(line, tax) File "/odoo2/odoo2-server/addons/account/models/account_invoice.py", line 562, in _prepare_tax_line_vals 'base': tax['base'], KeyError: 'base'
@ @Joanis Holzigel
There was a mistake, we fixed it. Thanks for commenting. please check now.