Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Error when confirming order (RFQ)

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
errorquotationrfq
2 Antwoorden
3472 Weergaven
Avatar
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
Avatar
Annuleer
alvarowh@dukefotografia.com

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

Matija
Auteur

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

Avatar
Matija
Auteur Beste antwoord

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
Avatar
Annuleer
Avatar
CandidRoot Solutions Private Limited
Beste antwoord

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
Avatar
Annuleer
Matija
Auteur

Thanks - I solved it as described in other comment

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Quoation Online Sign for Customer error not found Opgelost
error quotation
Avatar
Avatar
Avatar
3
mei 21
4961
Error (creation/update: a mandatory field is not correctly set [object with reference: product_id - product.id]") when creating quotation
error quotation
Avatar
Avatar
2
jan. 17
8404
Errror "There is no matching vendor price to generate the purchase order " on quotation confirmation Opgelost
sales error quotation
Avatar
Avatar
Avatar
2
aug. 21
10903
OpenERP Server Error on Quotation ?
server error quotation
Avatar
Avatar
Avatar
3
apr. 15
5989
The following error appears and sales orders and quotations are gone in the menu, what to do?
sales error quotation
Avatar
0
mrt. 15
5331
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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