Coder Social home page Coder Social logo

azi-odoo-modules's People

Contributors

emighs avatar jwelchatgmail0com avatar matt454357 avatar scosist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azi-odoo-modules's Issues

mrp_time_bucket ignores effectivity dates on BOM

The MRP algorithm should get the BOM that would be effective on the start date of the parent procurement. Does the _bom_explode() method consider start and stop dates on the mrp.bom.line model?

sales_team_region index out of range on states

Something must have changed in the res.country.state model.

We get an index out of range exception on sales.team.region.onchange_region():

# add currently selected regions for domain exclusion
for state_id in states[0][2]:

Just try creating a sales region.

Outbound procurements should always have location_id = production

The method _prepare_outbound_procurement() creates outbound procurement orders (dependent demand). These procurement orders should always have the Procurement Location field (location_id) set equal to the Production location.

I believe the following line of code should be changed from:

'location_id': parent_location_id and parent_location_id.id or product.property_stock_production.id,

to:

'location_id': product.property_stock_production.id,

error installing mrp_mrp

Dear Mr,
while istalling on v10 ce
mrp_master_schedule
mrp_llc
mrp_mrp
simulated_pick
i got this error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 677, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 333, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 326, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 935, in call
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 506, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 889, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 877, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 411, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 485, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python2.7/dist-packages/odoo/modules/registry.py", line 82, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 339, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 156, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 95, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 845, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 915, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 799, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 501, in _tag_menuitem
menu_parent_id = self.id_get(rec.get('parent',''))
File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 782, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 788, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1076, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/usr/lib/python2.7/dist-packages/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1065, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ParseError: "External ID not found in the system: mrp_workorder.mrp_planning_menu_root" while parsing /usr/lib/python2.7/dist-packages/odoo/addons/mrp_mrp/views/mrp_material_plan_view.xml:156, near

[12.0] azi_mrp_product: needs improvement

  1. I'm not getting any attachments when I run the wizard. There are 2 things causing this:

    • We need to include the PDF attachment for the current product, not just the children
    • We need to search for product.template attachments on the children, not just the product.product attachments.
  2. We have a little misunderstanding on the objective of this module:

    • When I say "build a PDF that is a compilation of PDFs," I mean that I want to merge all of the selected PDF files into a single PDF file
    • The individual PDF files should be inserted in order by assembly level, and then by bom line sequence
  3. Let's move the button to the print menu

Note that the active_id element of the context dict should always be a single integer (product_child is a list):

product_child = products.ids
attach = self.env['ir.attachment'].search([('res_model', '=', 'product.product'),
('res_id', 'in', products.ids)])
attach and attachments.append(attach)
context['active_model'] = 'product.product'
context['active_id'] = product_child

Also note that this line of code seems to have no effect:

context.update(active_id=[context['active_id']])

blanket order release document report

We need a document that we can print/email, for requesting a release from the vendor.

I have confirmed a PO that looks like this:

image

When I create a release, like this:

image

Then, let me generate a report that looks like this:

image

Blanket PO Release Default Date

Current Behavior:
The Release Delivery Date on the Release Request is the same as the Schedule Date on the blanket PO

Expected Behavior:
The Release Delivery Date should default to today plus the vendor lead time.

image

Customer service document alerts

Alert customer service user of missing documents in the following categories:

  • Manufacturers Statement of Origin (MSO for trailers)
  • Machine pictures
  • Training paperwork
  • Credit applications

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.