This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
I like to add some fields in the warehouse so I added the class with columns in the stock.py. But it shows error. I can not find what the error is.
The error message is
Traceback (most recent call last): File "/home/rck/Desktop/odoo-8.0/openerp/http.py", line 539, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/rck/Desktop/odoo-8.0/openerp/http.py", line 590, in dispatch return self._json_response(result) File "/home/rck/Desktop/odoo-8.0/openerp/http.py", line 528, in _json_response body = simplejson.dumps(response) File "/usr/local/lib/python2.7/dist-packages/simplejson/__init__.py", line 366, in dumps return _default_encoder.encode(obj) File "/usr/local/lib/python2.7/dist-packages/simplejson/encoder.py", line 269, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/local/lib/python2.7/dist-packages/simplejson/encoder.py", line 348, in iterencode return _iterencode(o, 0) File "/usr/local/lib/python2.7/dist-packages/simplejson/encoder.py", line 246, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: product.step1() is not JSON serializable
My py code in stock.py is
class product_step1(osv.osv): _name = "product.step1"
In creating a manufacturing order i want to calculate the work center cost, as well as the labor cost with the materials cost, in order to have the full cost of the product.
Any one have an idea to do the right configuration? I'm using odoo 8
In my sales order invoice template I get only one variant attribute of a product.I want to print all variants of a product in my invoice template.I tried this below code in report_invoice_document
I used the bank statement to reconcile a payment from a customer for its invoice, and it reconciled the payment for the invoice and showed the invoice as paid.
But when i tried to pay the supplier it didn't show any invoices from any supplier at the reconcile step, i had to choose it from (Import Invoice) button. However after this i had to add an account to reconcile.
I added the account and closed the statement, but when i went to see the invoice i choosed i found it open, there was no payment recorded for it.
I've installed erponline, and I'm trying to get the "Categories" feature within my forum as you did guys (Categories with "General Discussions", "Agents & Resellers", "Developers"…).
I could not manage to install such a feature. Do you know how to do it?
I want to link an analytic account to an employee, so when i made a payslip for him and confirm it, it shows in the entry generated by it.
I installed the module "hr_payroll_analytic_account", and i linked an analytic account and a salary journal to the employee contract, i configured also an analytic journal to that journal. But still when i confirm the payslip and view the generated entry, it didn't show the analytic account i previously configured.
After I'm installing Odoo 8 from bitnami in windows 7 64 bit, I'll try to backup database for backup, so when I'm trying in development, If I need to database rollback like first installing, I can restore from the backup, In Odoo 9 before, I do like that, but when I'm trying Odoo 8 I have some problem, The originally after first installing, when I try to create backup from odoo gui, the database manager in web. I got error message "access denied" when I try to backup database bitnami_openerp. So, I try to find the solution in google link : Title.
In file C:/odoo/apps/odoo/conf/conf/openerp-server.conf, I change admin_passwd = YOUR_PASSWORD. Then restart the server. After that, the error "access denied" is gone, but I have new error one.. `pg_dump`. Like picture below :
So for now, I'll try to backup manually from pg admin. But, if I'm backup from pg admin, there is need to backup all files in C:/odoo too?
Cho mình hỏi là ngày 28/7/2024 mình tạo 1 LSX để sản xuất 1000 SP A nhưng đến ngày 31/7/2024 mình mới nhập kho thành phẩm là 600 SP A và qua đến ngày 05/08/2024 mình mới nhập kho thành phẩm 400 SP A và kết thúc lệnh sản xuất. Như thế đến ngày 31/07/2024 mình xác định số lượng sản phẩm dở dang là 1000-600 = 400 SP dở dang có hợp lý không vậy mọi người.