Перейти к содержимому
Odoo Меню
  • Войти
  • Попробовать бесплатно
  • Модули
    Финансы
    • Бухгалтерия
    • Выставление счетов
    • Расходы
    • Таблицы
    • Документооборот
    • Подпись
    Продажи
    • CRM
    • Продажи
    • POS Магазин
    • POS Ресторан
    • Подписки
    • Аренда
    Вебсайты
    • Конструктор вебсайтов
    • eCommerce
    • Блог
    • Форум
    • Онлайн-чат
    • Электронное обучение
    Логистика
    • Склад
    • Производство
    • PLM
    • Закупки
    • Обслуживание
    • Качество
    Отдел кадров
    • Сотрудники
    • Подбор персонала
    • Отпуска
    • Оценка персонала
    • Реферальная программа
    • Автопарк
    Маркетинг
    • SMM
    • E-mail рассылки
    • СМС рассылки
    • Мероприятия
    • Автоматизация маркетинга
    • Опросы
    Услуги
    • Проекты
    • Табели
    • Выездной сервис
    • Поддержка
    • Планирование
    • Встречи
    Продуктивность
    • Обсуждения
    • Согласование
    • IoT
    • VoIP-телефония
    • Knowledge
    • WhatsApp
    Сторонние приложения Модуль Студия Odoo Платформа Odoo Cloud
  • Индустрии
    Розничная торговля
    • Книжный магазин
    • Магазин одежды
    • Мебельный магазин
    • Продуктовый магазин
    • Строительный магазин
    • Магазин игрушек
    Гостинично-ресторанный бизнес
    • Бар и паб
    • Ресторан
    • Фастфуд
    • Гостевой дом
    • Дистрибьютор напитков
    • Отель
    Недвижимость
    • Агентство недвижимости
    • Архитектурное бюро
    • Строительство
    • Управление недвижимостью
    • Ландшафтный дизайн
    • Товарищество собственников жилья
    Консалтинг
    • Бухгалтерская фирма
    • Партнер Odoo
    • Маркетинговое агентство
    • Юридическая фирма
    • Подбор персонала
    • Аудиторское бюро
    Производство
    • Текстиль
    • Металл
    • Мебель
    • Продукты питания
    • Пивоварня
    • Корпоративные сувениры
    Здоровье и фитнес
    • Спортивный комплекс
    • Магазин оптики
    • Фитнес-клуб
    • Велнес-центр
    • Аптека
    • Салон красоты
    Услуги
    • Специалист по бытовым услугам
    • Продажа и обслуживание IT-оборудования
    • Солнечные энергосистемы
    • Производство обуви
    • Клининг
    • Системы ОВКВ
    Прочее
    • Некоммерческая организация
    • Консалтинг в сфере устойчивого развития
    • Аренда рекламных щитов
    • Бизнес по фотосъемке
    • Прокат велосипедов
    • Реселлер программного обеспечения
    Все индустрии
  • Community
    Обучение
    • Видео уроки
    • Документация
    • Сертификация
    • Тренинг
    • Блог
    • Подкаст
    Образование и развитие
    • Образовательная программа
    • Деловая игра Scale Up!
    • Экскурсия в офис Odoo
    ПО
    • Скачать
    • Сравнить версии
    • Релизы
    Сотрудничество
    • Github
    • Форум
    • Мероприятия
    • Перевод
    • Стать партнером
    • Услуги для партнеров
    • Зарегистрировать бухгалтерскую фирму
    Услуги
    • Найти партнера
    • Найти бухгалтера
    • Встреча с экспертом
    • Услуги по внедрению
    • Отзывы клиентов
    • Поддержка
    • Обновления
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Заказать демонстрацию
  • Цены
  • Поддержка

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Бухгалтерия
  • Склад
  • PoS
  • Проекты
  • MRP
All apps
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Помощь

Error when confirming order (RFQ)

Подписаться

Получайте уведомления о появлении активности в этом посте

Этот вопрос был отмечен
errorquotationrfq
2 Ответы
3473 Представления
Аватар
Matija

 Hi all, all of sudden (no code was changed) I got this error when confirming RFQ. Can someone please check out why is it happening?

Odoo Server Error

Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/home/odoo/src/odoo/odoo/http.py", line 683, in dispatch result = self._call_function(**self.params) File "/home/odoo/src/odoo/odoo/http.py", line 359, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/odoo/http.py", line 347, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 912, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 531, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1398, in call_button action = self._call_kw(model, method, args, kwargs) File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1386, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 399, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 386, in _call_kw_multi result = method(recs, *args, **kwargs) File "/home/odoo/src/odoo/addons/purchase/models/purchase.py", line 411, in button_confirm order.button_approve() File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 91, in button_approve self._create_picking() File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 226, in _create_picking moves = order.order_line._create_stock_moves(picking) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 521, in _create_stock_moves for val in line._prepare_stock_moves(picking): File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 421, in _prepare_stock_moves price_unit = self._get_stock_move_price_unit() File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", line 1129, in __set__ records.write({self.name: write_value}) File "/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 335, in write result = super(PurchaseOrderLine, self).write(values) File "/home/odoo/src/odoo/addons/purchase/models/purchase.py", line 982, in write return super(PurchaseOrderLine, self).write(values) File "/home/odoo/src/odoo/odoo/models.py", line 3572, in write self.check_access_rule('write') File "/home/odoo/src/odoo/odoo/models.py", line 3347, in check_access_rule invalid = self - self._filter_access_rules_python(operation) File "/home/odoo/src/odoo/odoo/models.py", line 3402, in _filter_access_rules_python return self.sudo().filtered_domain(dom or []) File "/home/odoo/src/odoo/odoo/models.py", line 5060, in sudo return self.with_env(self.env(su=flag)) File "/home/odoo/src/odoo/odoo/api.py", line 510, in __call__ return Environment(cr, uid, context, su) File "/home/odoo/src/odoo/odoo/api.py", line 449, in __new__ env, envs = None, cls.envs File "/home/odoo/src/odoo/odoo/tools/func.py", line 114, in __get__ return self.fget.__get__(None, owner)() File "/home/odoo/src/odoo/odoo/api.py", line 420, in envs return getattr(cls._local, 'environments', ()) File "/usr/lib/python3/dist-packages/werkzeug/local.py", line 72, in __getattr__ return self.__storage__[self.__ident_func__()][name] Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/http.py", line 639, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/src/odoo/odoo/http.py", line 315, in _handle_exception raise exception.with_traceback(None) from new_cause RecursionError: maximum recursion depth exceeded while calling a Python object

0
Аватар
Отменить
alvarowh@dukefotografia.com

Hi Matija, we have the same problem, did you find a solution for this ?

Matija
Автор

I will leave this open - maybe someone has some other solution

Аватар
Matija
Автор Лучший ответ

Hi, I found out how to override this error - simply remove discount on RFQ (set i to 0) - then confirm order. After that you can edit order and add discount - save it and everything will be fine.

Another solution I am just checking out is to slightly redefine code of this module:
In purchase_discount/models/purchase_order.py file there is if statement on line 70 - here I changed self.price_unit = price into price = price_unit - also on line 75 I changed self.price_unit = price_unit into price = price_unit

So far on my db I haven't seen any errors after this change - RFQ's can be confirmed.

0
Аватар
Отменить
Аватар
CandidRoot Solutions Private Limited
Лучший ответ

Hello Matija

reason behind this error is recursion of write method call.

you have OVERRIDE  "write" method account.move obeject which goes into infinite recursion method call.

you should pass context while write value and check same context in write method to avoid this call.

please check below code :

/home/odoo/src/odoo/addons/purchase_stock/models/purchase.py", line 339, in write moves.write({'price_unit': line._get_stock_move_price_unit()}) File "/home/odoo/src/user/purchase_discount/models/purchase_order.py", line 73, in _get_stock_move_price_unit self.price_unit = price File "/home/odoo/src/odoo/odoo/fields.py", 


Thanks & Regards,

​

CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015


1
Аватар
Отменить
Matija
Автор

Thanks - I solved it as described in other comment

Не оставайтесь в стороне – присоединяйтесь к обсуждению!

Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!

Регистрация
Похожие посты Ответы Просмотры Активность
Quoation Online Sign for Customer error not found Решено
error quotation
Аватар
Аватар
Аватар
3
мая 21
4961
Error (creation/update: a mandatory field is not correctly set [object with reference: product_id - product.id]") when creating quotation
error quotation
Аватар
Аватар
2
янв. 17
8404
Errror "There is no matching vendor price to generate the purchase order " on quotation confirmation Решено
sales error quotation
Аватар
Аватар
Аватар
2
авг. 21
10903
OpenERP Server Error on Quotation ?
server error quotation
Аватар
Аватар
Аватар
3
апр. 15
5989
The following error appears and sales orders and quotations are gone in the menu, what to do?
sales error quotation
Аватар
0
мар. 15
5331
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • Github
  • Runbot
  • Перевод
Услуги
  • Хостинг Odoo.sh
  • Поддержка
  • Обновление
  • Индивидуальные решения по доработке
  • Образование
  • Найти бухгалтера
  • Найти партнера
  • Стать партнером
О нас
  • Наша компания
  • Активы бренда
  • Cвяжитесь с нами
  • Вакансии
  • Мероприятия
  • Подкаст
  • Блог
  • Клиенты
  • Правовые документы • Конфиденциальность
  • Безопасность
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo – это набор бизнес-модулей с открытым исходным кодом, который закроет все потребности вашей компании: CRM, E-commerce, Бухгалтерия, Склад, POS, управление проектами и др.

Odoo сочетает в себе простоту использования и полную интеграцию всех бизнес-процессов в одной системе.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now