From 2fddf1729bb47c1da5fb8d121bd522da11d8c5f1 Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Fri, 24 Jul 2015 16:32:44 +0200 Subject: [PATCH 01/16] [FIX] product_margin: product template should be the correct one and make group bys work The fact that it uses the correct template id now, fixes #6860 The read_group calculates the sum for every group for the non-stored fields as it is not possible anymore to add it in the xml, fixes #6638 The read_group simply searches for all products in the group and sums the totals of the fields for these products. --- addons/product_margin/product_margin.py | 35 ++++++++++++++++++- addons/product_margin/product_margin_view.xml | 2 +- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/addons/product_margin/product_margin.py b/addons/product_margin/product_margin.py index c7f3219b1be..10025ef3620 100644 --- a/addons/product_margin/product_margin.py +++ b/addons/product_margin/product_margin.py @@ -27,6 +27,39 @@ from openerp.osv import fields, osv class product_product(osv.osv): _inherit = "product.product" + def read_group(self, cr, uid, domain, fields, groupby, offset=0, limit=None, context=None, orderby=False, lazy=True): + """ + Inherit read_group to calculate the sum of the non-stored fields, as it is not automatically done anymore through the XML. + """ + res = super(product_product, self).read_group(cr, uid, domain, fields, groupby, offset=offset, limit=limit, context=context, orderby=orderby, lazy=lazy) + if context is None: + context = {} + fields_list = ['turnover', 'sale_avg_price', 'sale_purchase_price', 'sale_num_invoiced', 'purchase_num_invoiced', + 'sales_gap', 'purchase_gap', 'total_cost', 'sale_expected', 'normal_cost', 'total_margin', + 'expected_margin', 'total_margin_rate', 'expected_margin_rate'] + if any(x in fields for x in fields_list): + # Calculate first for every product in which line it needs to be applied + re_ind = 0 + prod_re = {} + tot_products = [] + for re in res: + if re.get('__domain'): + products = self.search(cr, uid, re['__domain'], context=context) + tot_products += products + for prod in products: + prod_re[prod] = re_ind + re_ind += 1 + + res_val = self._product_margin(cr, uid, tot_products, [x for x in fields if fields in fields_list], '', context=context) + for key in res_val.keys(): + for l in res_val[key].keys(): + re = res[prod_re[key]] + if re.get(l): + re[l] += res_val[key][l] + else: + re[l] = res_val[key][l] + return res + def _product_margin(self, cr, uid, ids, field_names, arg, context=None): res = {} if context is None: @@ -65,7 +98,7 @@ class product_product(osv.osv): from account_invoice_line l left join account_invoice i on (l.invoice_id = i.id) left join product_product product on (product.id=l.product_id) - left join product_template pt on (pt.id = l.product_id) + left join product_template pt on (pt.id = product.product_tmpl_id) left join product_uom pu on (pt.uom_id = pu.id) left join product_uom pu2 on (l.uos_id = pu2.id) where l.product_id = %s and i.state in %s and i.type IN %s and (i.date_invoice IS NULL or (i.date_invoice>=%s and i.date_invoice<=%s and i.company_id=%s)) diff --git a/addons/product_margin/product_margin_view.xml b/addons/product_margin/product_margin_view.xml index 2255b109d13..e79ef3bc093 100644 --- a/addons/product_margin/product_margin_view.xml +++ b/addons/product_margin/product_margin_view.xml @@ -7,7 +7,7 @@ - + From 9d0cb024fdc784fa7d53fecd3f0b9125c6f06481 Mon Sep 17 00:00:00 2001 From: Wolfgang Taferner Date: Wed, 22 Jul 2015 16:24:26 +0200 Subject: [PATCH 02/16] [FIX] website_sale: fix google analytics variable from google snippet --- addons/website_sale/static/src/js/website_sale_tracking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/static/src/js/website_sale_tracking.js b/addons/website_sale/static/src/js/website_sale_tracking.js index 8ff5a5ac789..72b43ed0faf 100644 --- a/addons/website_sale/static/src/js/website_sale_tracking.js +++ b/addons/website_sale/static/src/js/website_sale_tracking.js @@ -60,7 +60,7 @@ $(document).ready(function () { } function track_ga() { - website_ga = this._gaw || function(){}; + website_ga = this.ga || function(){}; website_ga.apply(this, arguments); } From 3114c5cf0957c4db378a9fb66df410cb54d96001 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 28 Jul 2015 12:28:52 +0200 Subject: [PATCH 03/16] [I18N] product: remove term lst_price was exported as found in tag lst_price so lst_price was exported Remove from pot to avoid confusion --- addons/product/i18n/product.pot | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addons/product/i18n/product.pot b/addons/product/i18n/product.pot index 22559f142ce..1817e4ae649 100644 --- a/addons/product/i18n/product.pot +++ b/addons/product/i18n/product.pot @@ -3264,11 +3264,6 @@ msgstr "" msgid "lb(s)" msgstr "" -#. module: product -#: view:product.product:product.product_normal_form_view -msgid "lst_price" -msgstr "" - #. module: product #: model:product.uom,name:product.product_uom_mile msgid "mile(s)" From 5792e4063b4b3bbfdb837cc9325dc63d7e80a4c8 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 28 Jul 2015 14:06:52 +0200 Subject: [PATCH 04/16] [FIX] calendar: bad field label --- addons/calendar/calendar.py | 2 +- addons/calendar/i18n/calendar.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/calendar/calendar.py b/addons/calendar/calendar.py index 4438a48d243..59b17819e83 100644 --- a/addons/calendar/calendar.py +++ b/addons/calendar/calendar.py @@ -573,7 +573,7 @@ class calendar_alarm(osv.Model): 'type': fields.selection([('notification', 'Notification'), ('email', 'Email')], 'Type', required=True), 'duration': fields.integer('Amount', required=True), 'interval': fields.selection([('minutes', 'Minutes'), ('hours', 'Hours'), ('days', 'Days')], 'Unit', required=True), - 'duration_minutes': fields.function(_get_duration, type='integer', string='duration_minutes', store=True), + 'duration_minutes': fields.function(_get_duration, type='integer', string='Duration in minutes', store=True), } _defaults = { diff --git a/addons/calendar/i18n/calendar.pot b/addons/calendar/i18n/calendar.pot index 57c6471cbbc..86a30ca49a0 100644 --- a/addons/calendar/i18n/calendar.pot +++ b/addons/calendar/i18n/calendar.pot @@ -1441,7 +1441,7 @@ msgstr "" #. module: calendar #: field:calendar.alarm,duration_minutes:0 -msgid "duration_minutes" +msgid "Duration in minutes" msgstr "" #. module: calendar From c1cb489ebed2a09d5c388f1da4b8b6b870f3d660 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 28 Jul 2015 14:57:05 +0200 Subject: [PATCH 05/16] [FIX] purchase: uom for PO without product_id When a purchase order line doesn't have a product_id, the current onchange method would return False as uom_id since b675ff1, thus introducing an issue since uom_id is required and the field may be not shown (so not changeable). closes #7770 opw-646088 --- addons/purchase/purchase.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index bd445dd94a5..139dcaf92a8 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -1113,6 +1113,9 @@ class purchase_order_line(osv.osv): res = {'value': {'price_unit': price_unit or 0.0, 'name': name or '', 'product_uom' : uom_id or False}} if not product_id: + if not uom_id: + uom_id = self.default_get(cr, uid, ['product_uom'], context=context).get('product_uom', False) + res['value']['product_uom'] = uom_id return res product_product = self.pool.get('product.product') From 96f0c28b3d66ae174765d271732043581b285c61 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 28 Jul 2015 17:17:04 +0200 Subject: [PATCH 06/16] [FIX] point_of_sale: unknown customer translation The string "Unknown Customer" in the point_of_sale could not be translated. opw-645977 --- addons/point_of_sale/static/src/xml/pos.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/static/src/xml/pos.xml b/addons/point_of_sale/static/src/xml/pos.xml index ae43a244e36..2ee7d41692c 100644 --- a/addons/point_of_sale/static/src/xml/pos.xml +++ b/addons/point_of_sale/static/src/xml/pos.xml @@ -909,8 +909,10 @@ + - + Unknown Customer: + From 034f540664fa3d2c939f2d22e65fcf575e05940d Mon Sep 17 00:00:00 2001 From: Jusab Sida Date: Fri, 17 Jul 2015 15:30:43 +0530 Subject: [PATCH 07/16] [IMP] crm, base_calendar: help messages on the active field were misleading. Actually, not really misleading, just wrong. Because the behavior is the opposite of what the help tells. --- addons/base_calendar/base_calendar.py | 4 ++-- addons/crm/crm.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index ca67114e851..c7534746160 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -647,7 +647,7 @@ class res_alarm(osv.osv): are both optional, but if one occurs, so MUST the other"""), 'repeat': fields.integer('Repeat'), 'active': fields.boolean('Active', help="If the active field is set to \ -true, it will allow you to hide the event alarm information without removing it.") +false, it will allow you to hide the event alarm information without removing it.") } _defaults = { 'trigger_interval': 'minutes', @@ -1108,7 +1108,7 @@ rule or repeating pattern of time to exclude from the recurring rule."), 'event_id', 'attendee_id', 'Attendees'), 'allday': fields.boolean('All Day', states={'done': [('readonly', True)]}), 'active': fields.boolean('Active', help="If the active field is set to \ - true, it will allow you to hide the event alarm information without removing it."), + false, it will allow you to hide the event alarm information without removing it."), 'recurrency': fields.boolean('Recurrent', help="Recurrent Meeting"), 'partner_ids': fields.many2many('res.partner', string='Attendees', states={'done': [('readonly', True)]}), } diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 5953500dcec..02c13c7ec75 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -114,7 +114,7 @@ class crm_case_section(osv.osv): 'complete_name': fields.function(get_full_name, type='char', size=256, readonly=True, store=True), 'code': fields.char('Code', size=8), 'active': fields.boolean('Active', help="If the active field is set to "\ - "true, it will allow you to hide the sales team without removing it."), + "false, it will allow you to hide the sales team without removing it."), 'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the salesman with the team leader."), 'user_id': fields.many2one('res.users', 'Team Leader'), 'member_ids':fields.many2many('res.users', 'sale_member_rel', 'section_id', 'member_id', 'Team Members'), From fd65b57b08fe129fd2124e657559f6d33ca31d74 Mon Sep 17 00:00:00 2001 From: Jusab Sida Date: Fri, 17 Jul 2015 16:29:23 +0530 Subject: [PATCH 08/16] [IMP] sales_team: fix the help message of the active field. Try not to tell the opposite of the actual behavior. --- addons/sales_team/sales_team.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sales_team/sales_team.py b/addons/sales_team/sales_team.py index a101a25519d..7d45d1df055 100644 --- a/addons/sales_team/sales_team.py +++ b/addons/sales_team/sales_team.py @@ -68,7 +68,7 @@ class crm_case_section(osv.osv): 'complete_name': fields.function(get_full_name, type='char', size=256, readonly=True, store=True), 'code': fields.char('Code', size=8), 'active': fields.boolean('Active', help="If the active field is set to "\ - "true, it will allow you to hide the sales team without removing it."), + "false, it will allow you to hide the sales team without removing it."), 'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the salesman with the team leader."), 'user_id': fields.many2one('res.users', 'Team Leader'), 'member_ids': fields.many2many('res.users', 'sale_member_rel', 'section_id', 'member_id', 'Team Members'), From cb29f9efac93d709658d7db5e8f7bee97b14ff57 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 29 Jul 2015 12:00:15 +0200 Subject: [PATCH 09/16] [FIX] base: reset `latest_version` field when uninstalling a module. --- openerp/addons/base/module/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/module/module.py b/openerp/addons/base/module/module.py index 89285bdbf4f..8ffb60055f9 100644 --- a/openerp/addons/base/module/module.py +++ b/openerp/addons/base/module/module.py @@ -436,7 +436,7 @@ class module(osv.osv): ir_model_data = self.pool.get('ir.model.data') modules_to_remove = [m.name for m in self.browse(cr, uid, ids, context)] ir_model_data._module_data_uninstall(cr, uid, modules_to_remove, context) - self.write(cr, uid, ids, {'state': 'uninstalled'}) + self.write(cr, uid, ids, {'state': 'uninstalled', 'latest_version': False}) return True def downstream_dependencies(self, cr, uid, ids, known_dep_ids=None, From a2fe8e18d6d994db2afc8b74cc6489a249451332 Mon Sep 17 00:00:00 2001 From: Commandant Custo Date: Wed, 1 Apr 2015 13:31:55 +0200 Subject: [PATCH 10/16] [IMP] stock: moved quants from the stock move view Display the moved quants in the stock move form view for more efficient WMS maintenance and traceability. Closes #6093 --- addons/stock/stock_view.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 19b2284da29..ce76f589437 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -1039,7 +1039,10 @@ - + + + + @@ -1094,7 +1097,10 @@ - + + + + From 52edf789c27a922dec648c49fec259d44a08b42d Mon Sep 17 00:00:00 2001 From: Wolfgang Taferner Date: Wed, 29 Jul 2015 09:40:16 +0200 Subject: [PATCH 11/16] [FIX] auth_crypt: safer import of base module Commit 856bc6f2b147970245f96e26d882f114c32e035c may cause an issue if the auth_crypt module is loaded before the base module. That should never happen in normal circumstances, but forcing an explicit import does not hurt and makes it safer. Closes #6742 --- addons/auth_crypt/auth_crypt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/auth_crypt/auth_crypt.py b/addons/auth_crypt/auth_crypt.py index a7e3a826223..9724b511a05 100644 --- a/addons/auth_crypt/auth_crypt.py +++ b/addons/auth_crypt/auth_crypt.py @@ -22,7 +22,8 @@ _logger = logging.getLogger(__name__) magic_md5 = '$1$' magic_sha256 = '$5$' -openerp.addons.base.res.res_users.USER_PRIVATE_FIELDS.append('password_crypt') +from openerp.addons.base.res import res_users +res_users.USER_PRIVATE_FIELDS.append('password_crypt') def gen_salt(length=8, symbols=None): if symbols is None: From ecfaf213c470925caffb94ca3a0263595c79e87d Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 29 Jul 2015 12:15:47 +0200 Subject: [PATCH 12/16] [FIX] module loading: pre/post_init_hook execution New installation was detected using the `installed_version` attribute (`latest_version` in `ir_module_module` table), but this field wasn't reset at module uninstallation (now fixed by cb29f9e) avoiding execution of hooks. Same logic was applied for migration scripts at 8ff7230. Fixes #7708 --- openerp/modules/loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/modules/loading.py b/openerp/modules/loading.py index 7015c134a87..3d0ade8aa3e 100644 --- a/openerp/modules/loading.py +++ b/openerp/modules/loading.py @@ -142,7 +142,7 @@ def load_module_graph(cr, graph, status=None, perform_checks=True, skip_modules= migrations.migrate_module(package, 'pre') load_openerp_module(package.name) - new_install = package.installed_version is None + new_install = package.state == 'to install' if new_install: py_module = sys.modules['openerp.addons.%s' % (module_name,)] pre_init = package.info.get('pre_init_hook') From 93f5f86afd3e92f2e9b5559355e94982de45c43a Mon Sep 17 00:00:00 2001 From: Colin Newell Date: Mon, 27 Jul 2015 17:27:21 +0100 Subject: [PATCH 13/16] [FIX] auth_signup, event_moodle, pad, share, survey: use system random number generator Switch to system random as number generator instead of the default PRNG, which is not recommended for generating security-related values such as unique tokens. Closes #7761 --- addons/auth_signup/res_users.py | 2 +- addons/event_moodle/event_moodle.py | 3 +-- addons/pad/pad.py | 2 +- addons/share/wizard/share_wizard.py | 2 +- addons/survey/wizard/survey_send_invitation.py | 4 ++-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/addons/auth_signup/res_users.py b/addons/auth_signup/res_users.py index e29d55ba47b..b896e92558d 100644 --- a/addons/auth_signup/res_users.py +++ b/addons/auth_signup/res_users.py @@ -34,7 +34,7 @@ class SignupError(Exception): def random_token(): # the token has an entropy of about 120 bits (6 bits/char * 20 chars) chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' - return ''.join(random.choice(chars) for i in xrange(20)) + return ''.join(random.SystemRandom().choice(chars) for i in xrange(20)) def now(**kwargs): dt = datetime.now() + timedelta(**kwargs) diff --git a/addons/event_moodle/event_moodle.py b/addons/event_moodle/event_moodle.py index 5c7373d1adb..730eabdfc02 100644 --- a/addons/event_moodle/event_moodle.py +++ b/addons/event_moodle/event_moodle.py @@ -24,7 +24,6 @@ import xmlrpclib import string import time import random -from random import sample from openerp.tools.translate import _ class event_moodle(osv.osv): @@ -123,7 +122,7 @@ class event_moodle(osv.osv): """ rand = string.ascii_letters + string.digits length = 8 - passwd = ''.join(sample(rand, length)) + passwd = ''.join(random.SystemRandom().sample(rand, length)) passwd = passwd + '+' return passwd diff --git a/addons/pad/pad.py b/addons/pad/pad.py index 0eb92808053..18be38269b7 100644 --- a/addons/pad/pad.py +++ b/addons/pad/pad.py @@ -35,7 +35,7 @@ class pad_common(osv.osv_memory): pad["server"] = pad["server"].rstrip('/') # generate a salt s = string.ascii_uppercase + string.digits - salt = ''.join([s[random.randint(0, len(s) - 1)] for i in range(10)]) + salt = ''.join([s[random.SystemRandom().randint(0, len(s) - 1)] for i in range(10)]) #path # etherpad hardcodes pad id length limit to 50 path = '-%s-%s' % (self._name, salt) diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py index 41ccf0bead5..0920081baa8 100644 --- a/addons/share/wizard/share_wizard.py +++ b/addons/share/wizard/share_wizard.py @@ -47,7 +47,7 @@ DOMAIN_ALL = [(1, '=', 1)] # A good selection of easy to read password characters (e.g. no '0' vs 'O', etc.) RANDOM_PASS_CHARACTERS = 'aaaabcdeeeefghjkmnpqrstuvwxyzAAAABCDEEEEFGHJKLMNPQRSTUVWXYZ23456789' def generate_random_pass(): - return ''.join(random.sample(RANDOM_PASS_CHARACTERS,10)) + return ''.join(random.SystemRandom().sample(RANDOM_PASS_CHARACTERS,10)) class share_wizard(osv.TransientModel): _name = 'share.wizard' diff --git a/addons/survey/wizard/survey_send_invitation.py b/addons/survey/wizard/survey_send_invitation.py index 177815c24b5..e2304811d82 100644 --- a/addons/survey/wizard/survey_send_invitation.py +++ b/addons/survey/wizard/survey_send_invitation.py @@ -20,7 +20,7 @@ ############################################################################## import time -from random import choice +import random import string import os import datetime @@ -51,7 +51,7 @@ class survey_send_invitation(osv.osv_memory): def genpasswd(self): chars = string.letters + string.digits - return ''.join([choice(chars) for i in range(6)]) + return ''.join([random.SystemRandom().choice(chars) for i in range(6)]) def default_get(self, cr, uid, fields_list, context=None): if context is None: From b4de311b0c04d9ac4e576a7d72e47fe48ca5e405 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 29 Jul 2015 13:48:12 +0200 Subject: [PATCH 14/16] [FIX] auth_crypt: use system random number generator Switch to system random as number generator instead of the default PRNG, which is not recommended for generating security-related values such as unique tokens. (Complements parent commit) Closes #7761 --- addons/auth_crypt/auth_crypt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/auth_crypt/auth_crypt.py b/addons/auth_crypt/auth_crypt.py index 9724b511a05..3aac70c1a59 100644 --- a/addons/auth_crypt/auth_crypt.py +++ b/addons/auth_crypt/auth_crypt.py @@ -11,7 +11,7 @@ import hashlib import hmac import logging -from random import sample +import random from string import ascii_letters, digits import openerp @@ -28,7 +28,7 @@ res_users.USER_PRIVATE_FIELDS.append('password_crypt') def gen_salt(length=8, symbols=None): if symbols is None: symbols = ascii_letters + digits - return ''.join(sample(symbols, length)) + return ''.join(random.SystemRandom().sample(symbols, length)) def md5crypt( raw_pw, salt, magic=magic_md5 ): """ md5crypt FreeBSD crypt(3) based on but different from md5 From b8f9ca4027d4b4a173c040167c192b1a363381f2 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 29 Jul 2015 14:18:06 +0200 Subject: [PATCH 15/16] [IMP] website_sale: clear promo pricelist when cart empty opw-646221 --- addons/website_sale/controllers/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/website_sale/controllers/main.py b/addons/website_sale/controllers/main.py index cee6d529e57..92268684b71 100644 --- a/addons/website_sale/controllers/main.py +++ b/addons/website_sale/controllers/main.py @@ -335,6 +335,9 @@ class website_sale(http.Controller): return {} value = order._cart_update(product_id=product_id, line_id=line_id, add_qty=add_qty, set_qty=set_qty) + if not order.cart_quantity: + request.website.sale_reset() + return {} if not display: return None value['cart_quantity'] = order.cart_quantity From 030b157895bfe2e5a713e3cc9d8d96524dee7555 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 29 Jul 2015 15:18:17 +0200 Subject: [PATCH 16/16] [I18N] point_of_sale: update unknwon customer related to opw-645977 --- addons/point_of_sale/i18n/point_of_sale.pot | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/point_of_sale/i18n/point_of_sale.pot b/addons/point_of_sale/i18n/point_of_sale.pot index 70bef66fd69..2a0dd7b1ba6 100644 --- a/addons/point_of_sale/i18n/point_of_sale.pot +++ b/addons/point_of_sale/i18n/point_of_sale.pot @@ -3865,6 +3865,13 @@ msgstr "" msgid "Unknown Barcode" msgstr "" +#. module: point_of_sale +#. openerp-web +#: code:addons/point_of_sale/static/src/xml/pos.xml:914 +#, python-format +msgid "Unknown Customer" +msgstr "" + #. module: point_of_sale #. openerp-web #: code:addons/point_of_sale/static/src/xml/pos.xml:845