Name: [FIX] point_of_sale: write the country id, not the record, in tests c…

State: Killed

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #1258

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: 32806c2345b15e9b566f0ab6011c76ec73e5d507

Description:

                                            [FIX] point_of_sale: write the country id, not the record, in tests common

TestPoSCommon.setUpClass writes the company country as a res.country
record instead of its id. The ORM tolerates it, but every res.company
write override that inspects vals['country_id'] then receives a record
where any other caller passes an id or False. An override comparing that
value against an id trips the reflected BaseModel.__eq__, which emits an
"unsupported operand type(s)" py.warnings for every test class derived
from TestPoSCommon, and the comparison silently evaluates to False.

Write the id, as done everywhere else in the test suite.
                                            

Branch: 17.0

Age:

Up-time: Not finished

Subbuilds Name State Detail
Build 403776 At install tests: from account to website_twitter Killed Log
Build 403777 Post install tests: step install all modules Killed Log
Build 403778 Post install tests: from account to hr_recruitment_survey Killed
Build 403779 Post install tests: from hr_skills to phone_validation Killed
Build 403780 Post install tests: from point_of_sale to purchase_requisition_stock Killed
Build 403781 Post install tests: from purchase_stock to test_lint Killed
Build 403782 Post install tests: from test_mail to to_purchase_line_numbering Killed
Build 403783 Post install tests: from to_purchase_order_advance to viin_approval_purpose_routing Killed
Build 403784 Post install tests: from viin_approval_sale to viin_product_approval_marketplace Killed
Build 403785 Post install tests: from viin_product_approval_marketplace_website_sale to web_unsplash Killed
Build 403786 Post install tests: from website to website_twitter Killed
Create Date Level Message
08/14/2026 09:20:40 INFO
Updated repository Viindoo-tvtmaaddons
08/14/2026 09:20:40 INFO
Updated repository Viindoo-erponline-enterprise
08/14/2026 09:20:40 INFO
Updated repository Viindoo-branding
08/14/2026 09:20:40 INFO
Cloned repository Viindoo-odoo