on_change_with_product_uom_category fails on line without product
Found on https://discuss.tryton.org/t/woocommerce-connector-for-tryton/2795/31
The line may not have a product defined so it should return None
but also the domain on product should allow then to add any product.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cédric Krier added easy purchasing sales type::crash + 1 deleted label
added easy purchasing sales type::crash + 1 deleted label
review328881002 updated at https://codereview.tryton.org/328881002/#ps333111002
- Review Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
review328881002 updated at https://codereview.tryton.org/328881002/#ps322541002
New review300941002 at https://codereview.tryton.org/300941002/#ps304851002
- Author Owner
Could you make a unique review when the fixes are common?
- Author Owner
Here is review331611002 which extend the test scenario.
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
review331611002 updated at https://codereview.tryton.org/331611002/#ps349201002
New changeset ab1d1564f619 by Cédric Krier in branch 'default':
Support amend line without product
https://hg.tryton.org/modules/purchase_amendment/rev/ab1d1564f619- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset 0e81e4cf1d32 by Cédric Krier in branch 'default':
Support amend line without product
https://hg.tryton.org/modules/sale_amendment/rev/0e81e4cf1d32New changeset 1cf7bffbc569 by Cédric Krier in branch 'default':
Support amend line without product
https://hg.tryton.org/tryton-env/rev/1cf7bffbc569