Giter Site home page Giter Site logo

vertical-ngo's Issues

framework_agreement_sourcing - errors in onchanges

Using onchange raise an AttributesError

Traceback (most recent call last):
  File ".../parts/server/openerp/http.py", line 500, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File ".../parts/server/openerp/http.py", line 517, in dispatch
    result = self._call_function(**self.params)
  File ".../parts/server/openerp/http.py", line 283, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File ".../parts/server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File ".../parts/server/openerp/http.py", line 280, in checked_call
    return self.endpoint(*a, **kw)
  File ".../parts/server/openerp/http.py", line 733, in __call__
    return self.method(*args, **kw)
  File ".../parts/server/openerp/http.py", line 376, in response_wrap
    response = f(*args, **kw)
  File ".../parts/server/addons/web/controllers/main.py", line 948, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File ".../parts/server/addons/web/controllers/main.py", line 940, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File ".../parts/server/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File ".../parts/server/openerp/api.py", line 360, in old_api
    result = method(recs, *args, **kwargs)
  File ".../parts/server/openerp/models.py", line 5711, in onchange
    record._onchange_eval(name, field_onchange[name], result)
  File ".../parts/server/openerp/models.py", line 5645, in _onchange_eval
    method_res = getattr(self._model, method)(*args)
  File ".../parts/purchase-workflow/framework_agreement/utils.py", line 30, in wrapper
    return fun(*args, **kwargs)
  File ".../parts/vertical-ngo/framework_agreement_sourcing/model/logistic_requisition_source.py", line 326, in onchange_quantity
    return self.onchange_quantity_obs(cr, uid, ids, qty, date,
AttributeError: 'logistic.requisition.source' object has no attribute 'onchange_quantity_obs'

Migration to version 9.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0

Modules to migrate

  • logistic_requisition_donation
  • ngo_purchase
  • logistic_requisition
  • logistic_order_multicurrency
  • framework_agreement_sourcing
  • logistic_requisition_department
  • logistic_order
  • logistic_requisition_multicurrency
  • framework_agreement_requisition
  • logistic_order_donation_budget
  • framework_agreement_sourcing_stock_route_transit
  • ngo_purchase_requisition
  • logistic_order_requisition_donation
  • logistic_order_donation_transit
  • logistic_order_donation
  • logistic_order_donation_shipment_test
  • ngo_shipment_plan
  • logistic_budget
  • logistic_consignee
  • vertical_ngo

8.0: cannot create a source manually

Install logistic_requisition alone, create a logistic.requisition.line and try to add a source.

You cannot fill in the currency, but when you try to save, you get an error saying that the currency is missing.

Migration to version 10.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0

Modules to migrate

  • framework_agreement_requisition
  • framework_agreement_sourcing
  • framework_agreement_sourcing_stock_route_transit
  • logistic_budget
  • logistic_consignee
  • logistic_order
  • logistic_order_donation
  • logistic_order_donation_budget
  • logistic_order_donation_shipment_test
  • logistic_order_donation_transit
  • logistic_order_multicurrency
  • logistic_order_requisition_donation
  • logistic_requisition
  • logistic_requisition_department
  • logistic_requisition_donation
  • logistic_requisition_multicurrency
  • ngo_purchase
  • ngo_purchase_requisition
  • ngo_shipment_plan
  • vertical_ngo

Migration to version 11.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-11.0

Modules to migrate

  • framework_agreement_requisition
  • framework_agreement_sourcing
  • framework_agreement_sourcing_stock_route_transit
  • logistic_budget
  • logistic_consignee
  • logistic_order
  • logistic_order_donation
  • logistic_order_donation_budget
  • logistic_order_donation_shipment_test
  • logistic_order_donation_transit
  • logistic_order_multicurrency
  • logistic_order_requisition_donation
  • logistic_requisition
  • logistic_requisition_department
  • logistic_requisition_donation
  • logistic_requisition_multicurrency
  • ngo_purchase
  • ngo_purchase_requisition
  • ngo_shipment_plan
  • vertical_ngo

LR stuck if Cost Estimates created for each LR Line

If I create a Cost Estimate for each line of a LR, then the LR becomes stuck in the Confirmed state (it can only be cancelled, but the Done state is not reachable from the user interface.

The reason is that the Create Cost Estimate button checks for lines which are not sourced and for which no CE exists. There are none, so no CE is created (correct), but the LR should then become Done I think.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.