We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a self-referential one2many relationship on my product.product model.
one2many
product.product
I received a weird "Expected singleton" exception when showing the product page (form) and somehow managed to solve it by changing @api.multi to @api.one on https://github.com/OCA/stock-logistics-warehouse/blob/8.0/stock_reserve/model/product.py#L63. This probably applies to product.template as well.
@api.multi
@api.one
product.template
What do you say?
PS: Still find it weird as the stock_reserve's button should apply to the single product.product instance in the domain, anyway.
stock_reserve
The text was updated successfully, but these errors were encountered:
I don't see any problem in current code, so the problem should be in your side. Closing this.
Sorry, something went wrong.
Merge pull request #31 from burroaktoolinc/add_modules
085d671
[ADD] OCA/OSI Migrated Modules
Merge pull request OCA#31 from acsone/16.0-imp-inventory-dro
f77cdc0
[IMP] stock_inventory: Avoid two fields with same label
No branches or pull requests
I have a self-referential
one2many
relationship on myproduct.product
model.I received a weird "Expected singleton" exception when showing the product page (form) and somehow managed to solve it by changing
@api.multi
to@api.one
on https://github.com/OCA/stock-logistics-warehouse/blob/8.0/stock_reserve/model/product.py#L63. This probably applies toproduct.template
as well.What do you say?
PS: Still find it weird as the
stock_reserve
's button should apply to the singleproduct.product
instance in the domain, anyway.The text was updated successfully, but these errors were encountered: