Browse Source
[CHG] b_base: Remove cooperator_type info
[CHG] b_base: Remove cooperator_type info
This new b_base module focus on adding member cards and eater functionality. Constrain about number of eater should be customise for each cooperative. And if the cooperative is using easy_my_coop module the maximum number of eater should be specified on the share product. Also cooperator_type has no meaning here. For cooperative that uses easy_my_coop, cooperator_type is a computed field based on the share that the cooperator owns. beesdoo_easy_my_coop and beesdoo_worker_status will be modified for taking this into account.pull/134/head
Rémy Taymans
5 years ago
4 changed files with 51 additions and 48 deletions
-
1beesdoo_base/__manifest__.py
-
43beesdoo_base/demo/eaters.xml
-
33beesdoo_base/models/partner.py
-
20beesdoo_base/views/partner.xml
@ -0,0 +1,43 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright 2019 Coop IT Easy |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
<odoo> |
|||
<record id="eater1" model="res.partner"> |
|||
<field name="name">Gilles Eaterbeek</field> |
|||
<field name="firstname">Gilles</field> |
|||
<field name="lastname">Eaterbeek</field> |
|||
<field name="eater">eater</field> |
|||
<field name="is_company" eval="False"/> |
|||
<field name="customer" eval="True"/> |
|||
</record> |
|||
|
|||
<record id="eater2" model="res.partner"> |
|||
<field name="name">Constant Eateration</field> |
|||
<field name="firstname">Constant</field> |
|||
<field name="lastname">Eateration</field> |
|||
<field name="eater">eater</field> |
|||
<field name="is_company" eval="False"/> |
|||
<field name="customer" eval="True"/> |
|||
</record> |
|||
|
|||
<record id="eater3" model="res.partner"> |
|||
<field name="name">Alexander G. Eaterphone</field> |
|||
<field name="firstname">Alexander G.</field> |
|||
<field name="lastname">Eaterphone</field> |
|||
<field name="eater">eater</field> |
|||
<field name="is_company" eval="False"/> |
|||
<field name="customer" eval="True"/> |
|||
</record> |
|||
|
|||
<record id="eater4" model="res.partner"> |
|||
<field name="name">Tim Eaternet</field> |
|||
<field name="firstname">Tim</field> |
|||
<field name="lastname">Eaternet</field> |
|||
<field name="eater">eater</field> |
|||
<field name="is_company" eval="False"/> |
|||
<field name="customer" eval="True"/> |
|||
</record> |
|||
</odoo> |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue