Commit Graph

33 Commits

Author SHA1 Message Date
Raimon Esteve 4ad4074ffe Eval company or -1 in context m2o fields #163427 2023-11-16 09:48:14 +01:00
Raimon Esteve cc6bbaf009 Search party by company in case found some companies
#162919
2023-10-19 14:44:49 +02:00
Raimon Esteve 59422550d8 Allow remove companies in parties when is administrator group
#071843
2022-11-23 17:27:01 +01:00
Raimon Esteve d939126735 Use declarative index definition for ModelSQL
issue5757
2022-11-09 17:53:09 +01:00
Jared Esparza 60fb73b261 Add company to context 2022-05-04 13:18:28 +02:00
Albert Cervera i Areny 1a8c781e2e Do not crash if delete() is called with an empty list. #050182 2022-03-11 14:22:33 +01:00
Raimon Esteve 7005593040 Ensure that objects in the Pool has __slots__
issue10719
2021-10-04 10:21:32 +02:00
Albert Cervera i Areny 9a8805f4ab Remove tree structure from company (issue10163) 2021-04-25 16:27:42 +02:00
Juanjo Garcia 58a3b65926 FIX tests
If there are no companies yet, allow access to all parties.
2020-11-30 13:45:21 +01:00
Juanjo Garcia 81419f9ffb Fix search_current_company.
Consider the party without current_company when is created.
2020-10-27 12:11:34 +01:00
Juanjo Garcia 4144180e99 Fix search_current_company.
041579
2020-10-26 11:06:16 +01:00
Juanjo Garcia 029afec510 Check the currecnt company of the user to filter the data, if company none, don't show any data.
Fix eval in party_* domains to it matches the new funcionality.

041579
2020-10-21 12:02:46 +02:00
Juanjo Garcia 7c9c03bea6 Use direct access to backend classes. 2019-12-10 13:33:06 +01:00
?ngel ?lvarez a1a9e76cfe adapt to ir.message 2019-04-13 09:18:42 +02:00
Albert Cervera i Areny 189f30ccef Rename model from party.party-company.company to party.company.rel.
For compatibility with company_bank modules.
2018-08-30 00:07:05 +02:00
Albert Cervera i Areny 130003f5e2 Migrate to python 3. 2018-08-17 18:51:03 +02:00
Raimon Esteve 0fb36b7953 FIX load party companies when user has not companies 2018-07-10 15:33:29 +02:00
Raimon Esteve 3f35f99cca Object class in Party Company Mixin (main class) 2018-05-11 01:12:18 +02:00
Raimon Esteve d90c619ed3 Replace agent Property field to MultiValue
Available agent MultiValue field in commission_party-fd5040f66d51
2018-05-11 01:09:39 +02:00
?ngel ?lvarez 58d20a35c5 update to 4.7 2018-05-09 10:30:43 +02:00
Raimon Esteve dbb2a502cc Remove set user root when create parties 2018-04-05 09:59:19 +02:00
Raimon Esteve 107cbca7f5 Add default companies in party 2018-03-23 09:48:16 +01:00
Raimon Esteve cbcd750178 Replace agent field to property because each company set a new agent by company 2018-03-20 09:25:00 +01:00
Raimon Esteve 5c21d49038 Remove duplicated companies fields in bank and commission
From changeset-b6ea42118be7
2018-02-22 09:51:02 +01:00
Raimon Esteve e5f4583e54 Remove default companies party
Since changeset-047e85b66b84 not allow delete company and a party may be shared all companies (none)
2017-11-29 13:48:44 +01:00
Raimon Esteve 439a6f9f05 Not allow delete companies related on parties 2017-11-29 13:42:52 +01:00
Raimon Esteve aa4c8a4c7d Register PartyCompany before party.Party 2017-11-24 15:31:39 +01:00
Raimon Esteve 001c9da865 Set party with multi companies
task-032573
2017-11-24 14:51:35 +01:00
Raimon Esteve f3310379e3 IMP other classes to use PartyCompanyMixin
From changeset-033bb5cdc41e
2017-06-20 16:31:22 +02:00
Albert Cervera i Areny add33864a3 Use Function fields for all party.* models. 2017-06-20 13:48:02 +02:00
Raimon Esteve 69e5cb7e3a Not set a company of the current records
Since changeset-6a1646642396 is not required the company
2017-05-25 17:26:59 +02:00
Raimon Esteve 4980dfe701 Allow working with multicompany (parent company) 2017-05-25 17:22:06 +02:00
Raimon Esteve f64356d18d Initial commit 2017-05-25 15:59:45 +02:00