Sale Discount on Total Amount

by
Odoo 1
v 9.0 Third Party 8563
Download for 9.0 series
You bought this module and need support ? Click here !
Technical name sale_discount_total
Websitehttp://www.cybrosys.com
Read description for v 12.0 v 11.0 v 10.0 v 8.0
Required Apps Sales Management (sale)
Invoicing (account)
Technical name sale_discount_total
Websitehttp://www.cybrosys.com
Read description for v 12.0 v 11.0 v 10.0 v 8.0
Required Apps Sales Management (sale)
Invoicing (account)

Global Discount In Sale

Global Discount In Sale

Cybrosys Technologies
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.

cybrosys technologies

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.

Service Management

Keep track of services and invoice accordingly.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Odoo
Still error : KeyError: 'base' for odoo 9 CE
by on

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'


Odoo
Still get this error
by on

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'


Odoo
@ @Joanis Holzigel
by on

There was a mistake, we fixed it. Thanks for commenting. please check now.


Odoo
bug
by on

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'