[CHG]Global change for GOLEM Acitvities : now acitvity base is not a product anymore, sessions are...

This commit is contained in:
Fabien Bourgeois 2016-07-11 12:19:56 +02:00
parent ac26151f58
commit e67e2e8b5e
9 changed files with 1029 additions and 537 deletions

View File

@ -25,11 +25,6 @@
'license': 'AGPL-3',
'application': True,
'installable': True,
'depends': ['product',
'membership',
'mail',
'l10n_fr_tax_sale_ttc',
'l10n_fr_siret',
'golem_season'],
'depends': ['membership', 'mail', 'golem_season'],
'data': ['data/golem_activity_data.xml', 'views/golem_activity_view.xml']
}

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-28 03:14+0000\n"
"PO-Revision-Date: 2016-06-28 03:14+0000\n"
"POT-Creation-Date: 2016-07-11 10:05+0000\n"
"PO-Revision-Date: 2016-07-11 10:05+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -15,41 +15,11 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: golem_activity
#: field:golem.activity,product_variant_count:0
msgid "# of Product Variants"
msgstr ""
#. module: golem_activity
#: help:golem.activity,description_sale:0
msgid "A description of the Product that you want to communicate to your customers. This description will be copied to every Sale Order, Delivery Order and Customer Invoice/Refund"
msgstr ""
#. module: golem_activity
#: help:golem.activity,description_purchase:0
msgid "A description of the Product that you want to communicate to your suppliers. This description will be copied to every Purchase Order, Receipt and Supplier Invoice/Refund."
msgstr ""
#. module: golem_activity
#: help:golem.activity,description:0
msgid "A precise description of the Product, used only for internal information purposes."
msgstr ""
#. module: golem_activity
#: field:golem.activity,active:0
msgid "Active"
msgstr ""
#. module: golem_activity
#: model:ir.ui.menu,name:golem_activity.activity_menu
msgid "Activities"
msgstr ""
#. module: golem_activity
#: model:ir.actions.act_window,name:golem_activity.category_action
msgid "Activities Categories"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_form
msgid "Activity Name"
@ -70,72 +40,6 @@ msgstr ""
msgid "Ateliers"
msgstr ""
#. module: golem_activity
#: field:golem.activity,product_id:0
msgid "Automatically created field to link to parent product.template"
msgstr ""
#. module: golem_activity
#: help:golem.activity,list_price:0
msgid "Base price to compute the customer price. Sometimes called the catalog price."
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_filter
msgid "By category"
msgstr ""
#. module: golem_activity
#: field:golem.activity,rental:0
msgid "Can be Rent"
msgstr ""
#. module: golem_activity
#: field:golem.activity,sale_ok:0
msgid "Can be Sold"
msgstr ""
#. module: golem_activity
#: model:ir.ui.menu,name:golem_activity.activity_categ
msgid "Categories"
msgstr ""
#. module: golem_activity
#: help:golem.activity,membership:0
msgid "Check if the product is eligible for membership."
msgstr ""
#. module: golem_activity
#: help:golem.activity,uos_coeff:0
msgid "Coefficient to convert default Unit of Measure to Unit of Sale\n"
" uos = uom * coeff"
msgstr ""
#. module: golem_activity
#: field:golem.activity,color:0
msgid "Color Index"
msgstr ""
#. module: golem_activity
#: field:golem.activity,company_id:0
msgid "Company"
msgstr ""
#. module: golem_activity
#: help:golem.activity,type:0
msgid "Consumable are product where you don't manage stock, a service is a non-material product provided by a company or an individual."
msgstr ""
#. module: golem_activity
#: field:golem.activity,standard_price:0
msgid "Cost Price"
msgstr ""
#. module: golem_activity
#: help:golem.activity,standard_price:0
msgid "Cost price of the product template used for standard stock valuation in accounting and used as a base price on purchase orders. Expressed in the default unit of measure of the product."
msgstr ""
#. module: golem_activity
#: field:golem.activity,create_uid:0
msgid "Created by"
@ -151,46 +55,16 @@ msgstr ""
msgid "Current season?"
msgstr ""
#. module: golem_activity
#: field:golem.activity,taxes_id:0
msgid "Customer Taxes"
msgstr ""
#. module: golem_activity
#: help:golem.activity,membership_date_from:0
msgid "Date from which membership becomes active."
msgstr ""
#. module: golem_activity
#: help:golem.activity,message_last_post:0
msgid "Date of the last message posted on the record."
msgstr ""
#. module: golem_activity
#: help:golem.activity,membership_date_to:0
msgid "Date until which membership remains active."
msgstr ""
#. module: golem_activity
#: help:golem.activity,uom_id:0
msgid "Default Unit of Measure used for all stock operation."
msgstr ""
#. module: golem_activity
#: help:golem.activity,uom_po_id:0
msgid "Default Unit of Measure used for purchase orders. It must be in the same category than the default unit of measure."
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_filter
msgid "Default season"
msgstr ""
#. module: golem_activity
#: field:golem.activity,description:0
msgid "Description"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_form
msgid "Details"
@ -201,27 +75,18 @@ msgstr ""
msgid "Display Name"
msgstr ""
#. module: golem_activity
#: field:golem.activity,ean13:0
msgid "EAN13 Barcode"
msgstr ""
#. module: golem_activity
#: field:golem.activity,date_end:0
msgid "End date"
msgstr ""
#. module: golem_activity
#: field:golem.activity,property_account_expense:0
msgid "Expense Account"
msgstr ""
#. module: golem_activity
#: field:golem.activity,message_follower_ids:0
msgid "Followers"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_tree
#: model:ir.actions.act_window,name:golem_activity.action
msgid "GOLEM Activities"
msgstr ""
@ -231,21 +96,6 @@ msgstr ""
msgid "GOLEM Activity"
msgstr ""
#. module: golem_activity
#: help:golem.activity,packaging_ids:0
msgid "Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."
msgstr ""
#. module: golem_activity
#: field:golem.activity,weight:0
msgid "Gross Weight"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_filter
msgid "Group By"
msgstr ""
#. module: golem_activity
#: help:golem.activity,message_summary:0
msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
@ -261,21 +111,11 @@ msgstr ""
msgid "If checked new messages require your attention."
msgstr ""
#. module: golem_activity
#: help:golem.activity,active:0
msgid "If unchecked, it will allow you to hide the product without removing it."
msgstr ""
#. module: golem_activity
#: field:golem.activity,image:0
msgid "Image"
msgstr ""
#. module: golem_activity
#: field:golem.activity,property_account_income:0
msgid "Income Account"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_form
msgid "Information"
@ -286,21 +126,11 @@ msgstr ""
msgid "Internal Category"
msgstr ""
#. module: golem_activity
#: field:golem.activity,default_code:0
msgid "Internal Reference"
msgstr ""
#. module: golem_activity
#: field:golem.activity,message_is_follower:0
msgid "Is a Follower"
msgstr ""
#. module: golem_activity
#: field:golem.activity,is_product_variant:0
msgid "Is product variant"
msgstr ""
#. module: golem_activity
#: field:golem.activity,message_last_post:0
msgid "Last Message Date"
@ -326,51 +156,6 @@ msgstr ""
msgid "List"
msgstr ""
#. module: golem_activity
#: field:golem.activity,packaging_ids:0
msgid "Logistical Units"
msgstr ""
#. module: golem_activity
#: field:golem.activity,seller_id:0
msgid "Main Supplier"
msgstr ""
#. module: golem_activity
#: help:golem.activity,seller_id:0
msgid "Main Supplier who has highest priority in Supplier List."
msgstr ""
#. module: golem_activity
#: field:golem.activity,mes_type:0
msgid "Measure Type"
msgstr ""
#. module: golem_activity
#: field:golem.activity,image_medium:0
msgid "Medium-sized image"
msgstr ""
#. module: golem_activity
#: help:golem.activity,image_medium:0
msgid "Medium-sized image of the product. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views."
msgstr ""
#. module: golem_activity
#: field:golem.activity,membership:0
msgid "Membership"
msgstr ""
#. module: golem_activity
#: field:golem.activity,membership_date_to:0
msgid "Membership End Date"
msgstr ""
#. module: golem_activity
#: field:golem.activity,membership_date_from:0
msgid "Membership Start Date"
msgstr ""
#. module: golem_activity
#: field:golem.activity,message_ids:0
msgid "Messages"
@ -382,39 +167,13 @@ msgid "Messages and communication history"
msgstr ""
#. module: golem_activity
#: field:golem.activity,activity_name:0
#: field:golem.activity,name:0
msgid "Name"
msgstr ""
#. module: golem_activity
#: field:golem.activity,weight_net:0
msgid "Net Weight"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_form
msgid "Others"
msgstr ""
#. module: golem_activity
#: field:golem.activity,price:0
msgid "Price"
msgstr ""
#. module: golem_activity
#: field:golem.activity,pricelist_id:0
msgid "Pricelist"
msgstr ""
#. module: golem_activity
#: field:golem.activity,attribute_line_ids:0
msgid "Product Attributes"
msgstr ""
#. module: golem_activity
#: field:golem.activity,product_manager:0
msgid "Product Manager"
#: field:golem.activity,note:0
msgid "Note"
msgstr ""
#. module: golem_activity
@ -422,69 +181,14 @@ msgstr ""
msgid "Product Template"
msgstr ""
#. module: golem_activity
#: field:golem.activity,type:0
msgid "Product Type"
msgstr ""
#. module: golem_activity
#: field:golem.activity,product_variant_ids:0
msgid "Products"
msgstr ""
#. module: golem_activity
#: field:golem.activity,lst_price:0
msgid "Public Price"
msgstr ""
#. module: golem_activity
#: field:golem.activity,description_purchase:0
msgid "Purchase Description"
msgstr ""
#. module: golem_activity
#: field:golem.activity,uom_po_id:0
msgid "Purchase Unit of Measure"
msgstr ""
#. module: golem_activity
#: field:golem.activity,description_sale:0
msgid "Sale Description"
msgstr ""
#. module: golem_activity
#: field:golem.activity,list_price:0
msgid "Sale Price"
msgstr ""
#. module: golem_activity
#: field:golem.activity,season_id:0
msgid "Seasons"
msgid "Season"
msgstr ""
#. module: golem_activity
#: help:golem.activity,categ_id:0
msgid "Select category for the current product"
msgstr ""
#. module: golem_activity
#: field:golem.activity,image_small:0
msgid "Small-sized image"
msgstr ""
#. module: golem_activity
#: help:golem.activity,image_small:0
msgid "Small-sized image of the product. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required."
msgstr ""
#. module: golem_activity
#: help:golem.activity,uos_id:0
msgid "Specify a unit of measure here if invoicing is made in another unit of measure than inventory. Keep empty to use the default unit of measure."
msgstr ""
#. module: golem_activity
#: help:golem.activity,sale_ok:0
msgid "Specify if the product can be selected in a sales order line."
msgid "Select category for the current activity"
msgstr ""
#. module: golem_activity
@ -498,79 +202,19 @@ msgid "Start date"
msgstr ""
#. module: golem_activity
#: code:addons/golem_activity/models/golem_activity.py:47
#: code:addons/golem_activity/models/golem_activity.py:53
#, python-format
msgid "Start of the period cannot be after end of the period."
msgstr ""
#. module: golem_activity
#: field:golem.activity,state:0
msgid "Status"
msgstr ""
#. module: golem_activity
#: field:golem.activity,message_summary:0
msgid "Summary"
msgstr ""
#. module: golem_activity
#: field:golem.activity,seller_ids:0
msgid "Supplier"
msgstr ""
#. module: golem_activity
#: field:golem.activity,seller_delay:0
msgid "Supplier Lead Time"
msgstr ""
#. module: golem_activity
#: field:golem.activity,seller_qty:0
msgid "Supplier Quantity"
msgstr ""
#. module: golem_activity
#: field:golem.activity,supplier_taxes_id:0
msgid "Supplier Taxes"
msgstr ""
#. module: golem_activity
#: help:golem.activity,weight:0
msgid "The gross weight in Kg."
msgstr ""
#. module: golem_activity
#: help:golem.activity,weight_net:0
msgid "The net weight in Kg."
msgstr ""
#. module: golem_activity
#: help:golem.activity,volume:0
msgid "The volume in m3."
msgstr ""
#. module: golem_activity
#: help:golem.activity,property_account_expense:0
msgid "This account will be used for invoices instead of the default one to value expenses for the current product."
msgstr ""
#. module: golem_activity
#: help:golem.activity,property_account_income:0
msgid "This account will be used for invoices instead of the default one to value sales for the current product."
msgstr ""
#. module: golem_activity
#: help:golem.activity,image:0
msgid "This field holds the image used as image for the product, limited to 1024x1024px."
msgstr ""
#. module: golem_activity
#: help:golem.activity,seller_qty:0
msgid "This is minimum quantity to purchase from Main Supplier."
msgstr ""
#. module: golem_activity
#: help:golem.activity,seller_delay:0
msgid "This is the average delay in days between the purchase order confirmation and the receipts for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."
msgid "This field holds the image used as image for the activity."
msgstr ""
#. module: golem_activity
@ -578,36 +222,11 @@ msgstr ""
msgid "Toutes les activités"
msgstr ""
#. module: golem_activity
#: field:golem.activity,uom_id:0
msgid "Unit of Measure"
msgstr ""
#. module: golem_activity
#: field:golem.activity,uos_coeff:0
msgid "Unit of Measure -> UOS Coeff"
msgstr ""
#. module: golem_activity
#: field:golem.activity,uos_id:0
msgid "Unit of Sale"
msgstr ""
#. module: golem_activity
#: field:golem.activity,message_unread:0
msgid "Unread Messages"
msgstr ""
#. module: golem_activity
#: field:golem.activity,volume:0
msgid "Volume"
msgstr ""
#. module: golem_activity
#: field:golem.activity,warranty:0
msgid "Warranty"
msgstr ""
#. module: golem_activity
#: view:golem.activity:golem_activity.view_form
msgid "describe the activity characteristics..."

View File

@ -18,27 +18,15 @@
from openerp import models, fields, api, _
class ProductTemplate(models.Model):
_inherit = 'product.template'
# Make default service for type
type = fields.Selection(default='service')
class GolemActivity(models.Model):
_name = 'golem.activity'
_description = 'GOLEM Activity'
_inherit = 'mail.thread'
_inherits = {'product.template': 'product_id'}
_rec_name = 'activity_name'
product_id = fields.Many2one('product.template', required=True,
ondelete='cascade')
# Copy the default code
default_code = fields.Char(copy=True)
# Own fields
name = fields.Char('Name', index=True, required=True)
image = fields.Binary('Image', help='This field holds the image used as '
'image for the activity.')
note = fields.Text('Note')
@api.model
def _default_season(self):
@ -51,6 +39,9 @@ class GolemActivity(models.Model):
ondelete='restrict')
animator_id = fields.Many2one('res.partner', string='Animator',
domain=[('is_company', '=', False)])
categ_id = fields.Many2one('product.category', 'Internal Category',
required=True,
help='Select category for the current activity')
date_start = fields.Date('Start date', copy=False)
date_end = fields.Date('End date', copy=False)
@ -81,16 +72,3 @@ class GolemActivity(models.Model):
default_season = self._default_season()
for a in self:
a.is_current = (default_season == a.season_id)
activity_name = fields.Char('Name', compute='_compute_name', store=True,
index=True)
@api.depends('name', 'default_code')
def _compute_name(self):
""" Provide a better displayed name """
for a in self:
activity_name = unicode(a.name)
if a.default_code:
activity_name = u'[{}] {}'.format(a.default_code,
activity_name)
a.activity_name = activity_name

View File

@ -28,8 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="oe_right oe_button_box" style="width: 300px;"
name="buttons"></div>
<div class="oe_left" style="width: 500px;">
<field name="image_medium" widget="image"
class="oe_avatar oe_left"/>
<field name="image" widget="image" class="oe_avatar oe_left"/>
<div class="oe_title" style="width: 390px;">
<label class="oe_edit_only" for="name" string="Activity Name"/>
<h1><field name="name" class="oe_inline"/></h1>
@ -38,30 +37,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<group>
<field name="season_id" />
</group>
<group string="Details" col="4">
<group colspan="2">
<field name="default_code" />
<group string="Details">
<group>
<field name="categ_id" />
<field name="list_price" />
</group>
<group colspan="2">
<field name="animator_id" />
</group>
<group>
<field name="date_start" />
<field name="date_end" />
</group>
</group>
<notebook>
<page name="activity_info" string="Information">
<group colspan="4">
<field name="description" placeholder="describe the activity characteristics..."/>
</group>
</page>
<page name="activity_details" string="Others">
<group>
<group>
<field name="type" />
<field name="active" />
</group>
<field name="note"
placeholder="describe the activity characteristics..."/>
</group>
</page>
</notebook>
@ -81,12 +71,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="arch" type="xml">
<tree string="GOLEM Activities">
<field name="season_id" />
<field name="default_code" />
<field name="name" />
<field name="animator_id" />
</tree>
</field>
</record>
</record>
<!-- Searches -->
<record id="view_filter" model="ir.ui.view">
@ -94,34 +83,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="model">golem.activity</field>
<field name="arch" type="xml">
<search>
<field name="activity_name" />
<field name="categ_id" widget="many2one" />
<field name="name" />
<field name="season_id" widget="many2one" />
<filter name="season_default" string="Default season"
domain="[('is_current', '=', True)]" />
<group string="Group By">
<filter name="group_category" string="By category"
context="{'group_by': 'categ_id'}"/>
</group>
</search>
</field>
</record>
<!-- Actions -->
<record id="action" model="ir.actions.act_window">
<field name="name">GOLEM Activities</field>
<field name="res_model">golem.activity</field>
<field name="view_mode">kanban,tree,form</field>
<field name="view_id" ref="product.product_template_kanban_view"/>
<field name="context"
eval="{'search_default_season_default': True, 'default_categ_id': ref('golem_activity.golem_product_category_all_activities')}" />
</record>
<record id="category_action" model="ir.actions.act_window">
<field name="name">Activities Categories</field>
<field name="res_model">product.category</field>
<field name="view_type">form</field>
<field name="view_id" ref="product.product_category_list_view" />
</record>
<act_window id="action" name="GOLEM Activities" res_model="golem.activity"
context="{'search_default_season_default': True, 'default_categ_id': ref('golem_activity.golem_product_category_all_activities')}" />
<!-- Menus -->
<menuitem id="activity_menu" name="Activities"
@ -129,9 +101,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<menuitem id="activity_list" name="List"
parent="activity_menu" sequence="0"
action="action" />
<menuitem id="activity_categ" name="Categories"
parent="activity_menu" sequence="10"
action="category_action" />
</data>
</openerp>

View File

@ -25,6 +25,7 @@
'license': 'AGPL-3',
'application': False,
'installable': True,
'depends': ['golem_activity'],
'depends': ['golem_activity', 'golem_member', 'product', 'mail',
'l10n_fr_tax_sale_ttc', 'l10n_fr_siret'],
'data': ['views/golem_activity_view.xml', 'views/golem_member_view.xml']
}

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-11 05:29+0000\n"
"PO-Revision-Date: 2016-07-11 05:29+0000\n"
"POT-Creation-Date: 2016-07-11 10:07+0000\n"
"PO-Revision-Date: 2016-07-11 10:07+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -16,12 +16,47 @@ msgstr ""
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: golem_activity_session
#: field:golem.activity.session,sales_count:0
msgid "# Sales"
msgstr "# Ventes"
#. module: golem_activity_session
#: field:golem.activity.session,product_variant_count:0
msgid "# of Product Variants"
msgstr "# de variantes d'articles"
#. module: golem_activity_session
#: help:golem.activity.session,description_sale:0
msgid "A description of the Product that you want to communicate to your customers. This description will be copied to every Sale Order, Delivery Order and Customer Invoice/Refund"
msgstr "Une description de l'article que vous voulez communiquer à vos utilisateurs. Cette description sera utilisée dans chaque bon de commande, bon de livraison et facture client ou avoir."
#. module: golem_activity_session
#: help:golem.activity.session,description_purchase:0
msgid "A description of the Product that you want to communicate to your suppliers. This description will be copied to every Purchase Order, Receipt and Supplier Invoice/Refund."
msgstr "Une description de l'article que vous voulez communiquer à vos utilisateurs. Cette description sera utilisée dans chaque bon de commande, bon de livraison et facture client ou avoir."
#. module: golem_activity_session
#: help:golem.activity.session,description:0
msgid "A precise description of the Product, used only for internal information purposes."
msgstr "Une description précise de l'article, utilisée seulement pour de l'information interne (hors factures)."
#. module: golem_activity_session
#: field:golem.activity.session,active:0
msgid "Active"
msgstr "Actif"
#. module: golem_activity_session
#: view:golem.member:golem_activity_session.sessions_inscription
#: field:golem.member,activity_session_ids:0
msgid "Activities"
msgstr "Activités"
#. module: golem_activity_session
#: model:ir.actions.act_window,name:golem_activity_session.category_action
msgid "Activities Categories"
msgstr "Catégories d'activités"
#. module: golem_activity_session
#: model:ir.ui.menu,name:golem_activity_session.session_menu_list
msgid "Activities sessions"
@ -53,11 +88,21 @@ msgstr "Autoriser la surcharge?"
msgid "Animator"
msgstr "Intervenant"
#. module: golem_activity_session
#: help:golem.activity.session,list_price:0
msgid "Base price to compute the customer price. Sometimes called the catalog price."
msgstr "Prix de base pour calculer le prix client."
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "By animator"
msgstr "Par intervenant"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "By category"
msgstr "Par catégorie"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "By weekday"
@ -83,33 +128,78 @@ msgstr "Créé le"
msgid "Current season?"
msgstr "Saison en cours?"
#. module: golem_activity_session
#: field:golem.activity.session,taxes_id:0
msgid "Customer Taxes"
msgstr "Taxes"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Date"
msgstr "Date"
#. module: golem_activity_session
#: help:golem.activity.session,membership_date_from:0
msgid "Date from which membership becomes active."
msgstr "Date à partir de laquelle l'adhésion est devenu active."
#. module: golem_activity_session
#: help:golem.activity.session,message_last_post:0
msgid "Date of the last message posted on the record."
msgstr "Date du dernier message sur l'enregistrement."
#. module: golem_activity_session
#: help:golem.activity.session,membership_date_to:0
msgid "Date until which membership remains active."
msgstr "Date à laquelle l'adhésion reste active."
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Day"
msgstr "Jour"
#. module: golem_activity_session
#: help:golem.activity.session,uom_id:0
msgid "Default Unit of Measure used for all stock operation."
msgstr "Default Unit of Measure used for all stock operation."
#. module: golem_activity_session
#: help:golem.activity.session,uom_po_id:0
msgid "Default Unit of Measure used for purchase orders. It must be in the same category than the default unit of measure."
msgstr "Default Unit of Measure used for purchase orders. It must be in the same category than the default unit of measure."
#. module: golem_activity_session
#: field:golem.activity.session,default_code:0
msgid "Default code"
msgstr "Référence"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "Default season"
msgstr "Saison par défaut"
#. module: golem_activity_session
#: field:golem.activity.session,description:0
msgid "Description"
msgstr "Description"
#. module: golem_activity_session
#: field:golem.activity.session,display_name:0
msgid "Display Name"
msgstr "Nom affiché"
#. module: golem_activity_session
#: field:golem.activity.session,ean13:0
msgid "EAN13 Barcode"
msgstr "Code-barres EAN13"
#. module: golem_activity_session
#: field:golem.activity.session,date_end:0
msgid "End date"
msgstr "Date de fin"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:115
#: code:addons/golem_activity_session/models/golem_activity_session.py:147
#, python-format
msgid "End of the session cannot be after the end of activity date"
msgstr "La fin de la séance ne peut être après la fin de l'activité"
@ -120,7 +210,17 @@ msgid "End time"
msgstr "Heure de fin"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:123
#: field:golem.activity.session,property_account_expense:0
msgid "Expense Account"
msgstr "Compte de dépense"
#. module: golem_activity_session
#: field:golem.activity.session,message_follower_ids:0
msgid "Followers"
msgstr "Abonnés"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:155
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Friday"
@ -146,26 +246,76 @@ msgstr "Activité"
msgid "GOLEM Member"
msgstr "Adhérent"
#. module: golem_activity_session
#: help:golem.activity.session,packaging_ids:0
msgid "Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."
msgstr "Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."
#. module: golem_activity_session
#: field:golem.activity.session,weight:0
msgid "Gross Weight"
msgstr "Gross Weight"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "Group By"
msgstr "Grouper par"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Hour"
msgstr "Heure"
#: help:golem.activity.session,message_summary:0
msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
msgstr "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
#. module: golem_activity_session
#: field:golem.activity.session,id:0
msgid "ID"
msgstr "ID"
#. module: golem_activity_session
#: help:golem.activity.session,message_unread:0
msgid "If checked new messages require your attention."
msgstr "If checked new messages require your attention."
#. module: golem_activity_session
#: help:golem.activity.session,active:0
msgid "If unchecked, it will allow you to hide the product without removing it."
msgstr "If unchecked, it will allow you to hide the product without removing it."
#. module: golem_activity_session
#: field:golem.activity.session,image:0
msgid "Image"
msgstr "Image"
#. module: golem_activity_session
#: field:golem.activity.session,property_account_income:0
msgid "Income Account"
msgstr "Income Account"
#. module: golem_activity_session
#: field:golem.activity.session,categ_id:0
msgid "Internal Category"
msgstr "Catégorie"
#. module: golem_activity_session
#: field:golem.activity.session,message_is_follower:0
msgid "Is a Follower"
msgstr "Is a Follower"
#. module: golem_activity_session
#: field:golem.activity.session,is_product_variant:0
msgid "Is product variant"
msgstr "Is product variant"
#. module: golem_activity_session
#: field:golem.activity.session,is_recurrent:0
msgid "Is recurrent ?"
msgstr "Est récurrent ?"
#. module: golem_activity_session
#: field:golem.activity.session,message_last_post:0
msgid "Last Message Date"
msgstr "Date du dernier message"
#. module: golem_activity_session
#: field:golem.activity.session,__last_update:0
msgid "Last Modified on"
@ -181,6 +331,36 @@ msgstr "Dernière modification par"
msgid "Last Updated on"
msgstr "Dernière modification le"
#. module: golem_activity_session
#: field:golem.activity.session,packaging_ids:0
msgid "Logistical Units"
msgstr "Logistical Units"
#. module: golem_activity_session
#: field:golem.activity.session,seller_id:0
msgid "Main Supplier"
msgstr "Main Supplier"
#. module: golem_activity_session
#: help:golem.activity.session,seller_id:0
msgid "Main Supplier who has highest priority in Supplier List."
msgstr "Main Supplier who has highest priority in Supplier List."
#. module: golem_activity_session
#: field:golem.activity.session,mes_type:0
msgid "Measure Type"
msgstr "Measure Type"
#. module: golem_activity_session
#: field:golem.activity.session,image_medium:0
msgid "Medium-sized image"
msgstr "Medium-sized image"
#. module: golem_activity_session
#: help:golem.activity.session,image_medium:0
msgid "Medium-sized image of the product. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views."
msgstr "Medium-sized image of the product. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views."
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
#: field:golem.activity.session,member_ids:0
@ -188,9 +368,29 @@ msgid "Members"
msgstr "Adhérents"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Min."
msgstr "Min."
#: field:golem.activity.session,membership:0
msgid "Membership"
msgstr "Adhésion"
#. module: golem_activity_session
#: field:golem.activity.session,membership_date_to:0
msgid "Membership End Date"
msgstr "Fin de l'adhésion"
#. module: golem_activity_session
#: field:golem.activity.session,membership_date_from:0
msgid "Membership Start Date"
msgstr "Début de l'adhésion"
#. module: golem_activity_session
#: field:golem.activity.session,message_ids:0
msgid "Messages"
msgstr "Messages"
#. module: golem_activity_session
#: help:golem.activity.session,message_ids:0
msgid "Messages and communication history"
msgstr "Messages et historique des échanges"
#. module: golem_activity_session
#: field:golem.activity.session,places_min:0
@ -203,7 +403,7 @@ msgid "Minimum places to maintain the session"
msgstr "Nombre de places minimum pour maintenir la session"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:119
#: code:addons/golem_activity_session/models/golem_activity_session.py:151
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Monday"
@ -211,9 +411,15 @@ msgstr "Lundi"
#. module: golem_activity_session
#: field:golem.activity.session,name:0
#: field:golem.activity.session,session_name:0
msgid "Name"
msgstr "Nom"
#. module: golem_activity_session
#: field:golem.activity.session,weight_net:0
msgid "Net Weight"
msgstr "Net Weight"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
#: field:golem.activity.session,note:0
@ -221,13 +427,13 @@ msgid "Note"
msgstr "Note"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:183
#: code:addons/golem_activity_session/models/golem_activity_session.py:215
#, python-format
msgid "Number of places cannot be negative."
msgstr "Le nombre de places ne peut pas être négatif"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:186
#: code:addons/golem_activity_session/models/golem_activity_session.py:218
#, python-format
msgid "Overbooked places cannot be inferior than places"
msgstr "Le nombre de places avec surcharge ne peut être inférieur aux places"
@ -247,6 +453,61 @@ msgstr "Places prises"
msgid "Places with overbook"
msgstr "Places avec surcharge"
#. module: golem_activity_session
#: field:golem.activity.session,price:0
msgid "Price"
msgstr "Prix"
#. module: golem_activity_session
#: field:golem.activity.session,pricelist_id:0
msgid "Pricelist"
msgstr "Liste de prix"
#. module: golem_activity_session
#: field:golem.activity.session,attribute_line_ids:0
msgid "Product Attributes"
msgstr "Product Attributes"
#. module: golem_activity_session
#: field:golem.activity.session,product_manager:0
msgid "Product Manager"
msgstr "Product Manager"
#. module: golem_activity_session
#: model:ir.model,name:golem_activity_session.model_product_template
msgid "Product Template"
msgstr "Modèle d'article"
#. module: golem_activity_session
#: field:golem.activity.session,type:0
msgid "Product Type"
msgstr "Type d'article"
#. module: golem_activity_session
#: field:golem.activity.session,product_id:0
msgid "Product id"
msgstr "Product id"
#. module: golem_activity_session
#: field:golem.activity.session,product_variant_ids:0
msgid "Products"
msgstr "Articles"
#. module: golem_activity_session
#: field:golem.activity.session,lst_price:0
msgid "Public Price"
msgstr "Prix public"
#. module: golem_activity_session
#: field:golem.activity.session,description_purchase:0
msgid "Purchase Description"
msgstr "Purchase Description"
#. module: golem_activity_session
#: field:golem.activity.session,uom_po_id:0
msgid "Purchase Unit of Measure"
msgstr "Purchase Unit of Measure"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Remain"
@ -258,7 +519,17 @@ msgid "Remaining places"
msgstr "Places restantes"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:124
#: field:golem.activity.session,description_sale:0
msgid "Sale Description"
msgstr "Description de vente"
#. module: golem_activity_session
#: field:golem.activity.session,list_price:0
msgid "Sale Price"
msgstr "Prix de vente"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:156
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Saturday"
@ -271,8 +542,23 @@ msgstr "Saison"
#. module: golem_activity_session
#: help:golem.activity.session,categ_id:0
msgid "Select category for the current product"
msgstr "Sélectionnez la catégorie de l'article"
msgid "Select category for the current activity"
msgstr "Select category for the current activity"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Service"
msgstr "Service"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Session"
msgstr "Session"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Session Name"
msgstr "Session Name"
#. module: golem_activity_session
#: view:golem.activity:golem_activity_session.session_smart
@ -281,30 +567,50 @@ msgid "Sessions"
msgstr "Séances"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:166
#: field:golem.activity.session,image_small:0
msgid "Small-sized image"
msgstr "Small-sized image"
#. module: golem_activity_session
#: help:golem.activity.session,image_small:0
msgid "Small-sized image of the product. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required."
msgstr "Small-sized image of the product. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required."
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:198
#, python-format
msgid "Sorry, there is no more place !"
msgstr "Désolé mais il n'y a plus de place disponible !"
#. module: golem_activity_session
#: help:golem.activity.session,uos_id:0
msgid "Specify a unit of measure here if invoicing is made in another unit of measure than inventory. Keep empty to use the default unit of measure."
msgstr "Specify a unit of measure here if invoicing is made in another unit of measure than inventory. Keep empty to use the default unit of measure."
#. module: golem_activity_session
#: help:golem.activity.session,sale_ok:0
msgid "Specify if the product can be selected in a sales order line."
msgstr "Specify if the product can be selected in a sales order line."
#. module: golem_activity_session
#: field:golem.activity.session,date_start:0
msgid "Start date"
msgstr "Date de début"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:141
#: code:addons/golem_activity_session/models/golem_activity_session.py:173
#, python-format
msgid "Start of the period cannot be after end of the period."
msgstr "Le début de la période ne peut être postérieur à la fin."
msgstr "Le début de la période ne peut être antérieure à sa fin"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:107
#: code:addons/golem_activity_session/models/golem_activity_session.py:139
#, python-format
msgid "Start of the session cannot be after end of the session."
msgstr "Le début de la séance ne peut être après sa fin"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:111
#: code:addons/golem_activity_session/models/golem_activity_session.py:143
#, python-format
msgid "Start of the session cannot be before the start of activity date"
msgstr "Le début de la séance ne peut être fixé avant le début de l'activité"
@ -315,28 +621,128 @@ msgid "Start time"
msgstr "Heure de début"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:125
#: field:golem.activity.session,state:0
msgid "Status"
msgstr "Statut"
#. module: golem_activity_session
#: field:golem.activity.session,message_summary:0
msgid "Summary"
msgstr "Résumé"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:157
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Sunday"
msgstr "Dimanche"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:122
#: field:golem.activity.session,seller_ids:0
msgid "Supplier"
msgstr "Supplier"
#. module: golem_activity_session
#: field:golem.activity.session,seller_delay:0
msgid "Supplier Lead Time"
msgstr "Supplier Lead Time"
#. module: golem_activity_session
#: field:golem.activity.session,seller_qty:0
msgid "Supplier Quantity"
msgstr "Supplier Quantity"
#. module: golem_activity_session
#: field:golem.activity.session,supplier_taxes_id:0
msgid "Supplier Taxes"
msgstr "Supplier Taxes"
#. module: golem_activity_session
#: help:golem.activity.session,weight:0
msgid "The gross weight in Kg."
msgstr "The gross weight in Kg."
#. module: golem_activity_session
#: help:golem.activity.session,weight_net:0
msgid "The net weight in Kg."
msgstr "The net weight in Kg."
#. module: golem_activity_session
#: help:golem.activity.session,volume:0
msgid "The volume in m3."
msgstr "The volume in m3."
#. module: golem_activity_session
#: help:golem.activity.session,property_account_expense:0
msgid "This account will be used for invoices instead of the default one to value expenses for the current product."
msgstr "This account will be used for invoices instead of the default one to value expenses for the current product."
#. module: golem_activity_session
#: help:golem.activity.session,property_account_income:0
msgid "This account will be used for invoices instead of the default one to value sales for the current product."
msgstr "This account will be used for invoices instead of the default one to value sales for the current product."
#. module: golem_activity_session
#: help:golem.activity.session,image:0
msgid "This field holds the image used as image for the activity."
msgstr "This field holds the image used as image for the activity."
#. module: golem_activity_session
#: help:golem.activity.session,seller_qty:0
msgid "This is minimum quantity to purchase from Main Supplier."
msgstr "This is minimum quantity to purchase from Main Supplier."
#. module: golem_activity_session
#: help:golem.activity.session,seller_delay:0
msgid "This is the average delay in days between the purchase order confirmation and the receipts for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."
msgstr "This is the average delay in days between the purchase order confirmation and the receipts for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:154
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Thursday"
msgstr "Jeudi"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:120
#: code:addons/golem_activity_session/models/golem_activity_session.py:152
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Tuesday"
msgstr "Mardi"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:121
#: field:golem.activity.session,uom_id:0
msgid "Unit of Measure"
msgstr "Unit of Measure"
#. module: golem_activity_session
#: field:golem.activity.session,uos_coeff:0
msgid "Unit of Measure -> UOS Coeff"
msgstr "Unit of Measure -> UOS Coeff"
#. module: golem_activity_session
#: field:golem.activity.session,uos_id:0
msgid "Unit of Sale"
msgstr "Unit of Sale"
#. module: golem_activity_session
#: field:golem.activity.session,message_unread:0
msgid "Unread Messages"
msgstr "Messages non lus"
#. module: golem_activity_session
#: field:golem.activity.session,volume:0
msgid "Volume"
msgstr "Volume"
#. module: golem_activity_session
#: field:golem.activity.session,warranty:0
msgid "Warranty"
msgstr "Garantie"
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:153
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Wednesday"
@ -352,3 +758,8 @@ msgstr "Jour de la semaine"
msgid "Work in progress"
msgstr "Travail en cours"
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "describe the activity characteristics..."
msgstr "describe the activity characteristics..."

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-11 05:28+0000\n"
"PO-Revision-Date: 2016-07-11 05:28+0000\n"
"POT-Creation-Date: 2016-07-11 10:07+0000\n"
"PO-Revision-Date: 2016-07-11 10:07+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -15,12 +15,47 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: golem_activity_session
#: field:golem.activity.session,sales_count:0
msgid "# Sales"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,product_variant_count:0
msgid "# of Product Variants"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,description_sale:0
msgid "A description of the Product that you want to communicate to your customers. This description will be copied to every Sale Order, Delivery Order and Customer Invoice/Refund"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,description_purchase:0
msgid "A description of the Product that you want to communicate to your suppliers. This description will be copied to every Purchase Order, Receipt and Supplier Invoice/Refund."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,description:0
msgid "A precise description of the Product, used only for internal information purposes."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,active:0
msgid "Active"
msgstr ""
#. module: golem_activity_session
#: view:golem.member:golem_activity_session.sessions_inscription
#: field:golem.member,activity_session_ids:0
msgid "Activities"
msgstr ""
#. module: golem_activity_session
#: model:ir.actions.act_window,name:golem_activity_session.category_action
msgid "Activities Categories"
msgstr ""
#. module: golem_activity_session
#: model:ir.ui.menu,name:golem_activity_session.session_menu_list
msgid "Activities sessions"
@ -31,11 +66,6 @@ msgstr ""
msgid "Activity"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Activity Session"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:43
#, python-format
@ -52,19 +82,75 @@ msgstr ""
msgid "Animator"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,list_price:0
msgid "Base price to compute the customer price. Sometimes called the catalog price."
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "By animator"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "By category"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "By weekday"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,categ_id:0
msgid "Category"
#: field:golem.activity.session,rental:0
msgid "Can be Rent"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,sale_ok:0
msgid "Can be Sold"
msgstr ""
#. module: golem_activity_session
#: model:ir.ui.menu,name:golem_activity_session.activity_categ
msgid "Categories"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,membership:0
msgid "Check if the product is eligible for membership."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,uos_coeff:0
msgid "Coefficient to convert default Unit of Measure to Unit of Sale\n"
" uos = uom * coeff"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,color:0
msgid "Color Index"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,company_id:0
msgid "Company"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,type:0
msgid "Consumable are product where you don't manage stock, a service is a non-material product provided by a company or an individual."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,standard_price:0
msgid "Cost Price"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,standard_price:0
msgid "Cost price of the product template used for standard stock valuation in accounting and used as a base price on purchase orders. Expressed in the default unit of measure of the product."
msgstr ""
#. module: golem_activity_session
@ -82,33 +168,78 @@ msgstr ""
msgid "Current season?"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,taxes_id:0
msgid "Customer Taxes"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Date"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,membership_date_from:0
msgid "Date from which membership becomes active."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,message_last_post:0
msgid "Date of the last message posted on the record."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,membership_date_to:0
msgid "Date until which membership remains active."
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Day"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,uom_id:0
msgid "Default Unit of Measure used for all stock operation."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,uom_po_id:0
msgid "Default Unit of Measure used for purchase orders. It must be in the same category than the default unit of measure."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,default_code:0
msgid "Default code"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "Default season"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,description:0
msgid "Description"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,display_name:0
msgid "Display Name"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,ean13:0
msgid "EAN13 Barcode"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,date_end:0
msgid "End date"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:115
#: code:addons/golem_activity_session/models/golem_activity_session.py:147
#, python-format
msgid "End of the session cannot be after the end of activity date"
msgstr ""
@ -119,7 +250,17 @@ msgid "End time"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:123
#: field:golem.activity.session,property_account_expense:0
msgid "Expense Account"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,message_follower_ids:0
msgid "Followers"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:155
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Friday"
@ -145,14 +286,24 @@ msgstr ""
msgid "GOLEM Member"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,packaging_ids:0
msgid "Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,weight:0
msgid "Gross Weight"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.searches
msgid "Group By"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Hour"
#: help:golem.activity.session,message_summary:0
msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
msgstr ""
#. module: golem_activity_session
@ -160,11 +311,51 @@ msgstr ""
msgid "ID"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,message_unread:0
msgid "If checked new messages require your attention."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,active:0
msgid "If unchecked, it will allow you to hide the product without removing it."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,image:0
msgid "Image"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,property_account_income:0
msgid "Income Account"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,categ_id:0
msgid "Internal Category"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,message_is_follower:0
msgid "Is a Follower"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,is_product_variant:0
msgid "Is product variant"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,is_recurrent:0
msgid "Is recurrent ?"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,message_last_post:0
msgid "Last Message Date"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,__last_update:0
msgid "Last Modified on"
@ -180,6 +371,36 @@ msgstr ""
msgid "Last Updated on"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,packaging_ids:0
msgid "Logistical Units"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,seller_id:0
msgid "Main Supplier"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,seller_id:0
msgid "Main Supplier who has highest priority in Supplier List."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,mes_type:0
msgid "Measure Type"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,image_medium:0
msgid "Medium-sized image"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,image_medium:0
msgid "Medium-sized image of the product. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views."
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
#: field:golem.activity.session,member_ids:0
@ -187,8 +408,28 @@ msgid "Members"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Min."
#: field:golem.activity.session,membership:0
msgid "Membership"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,membership_date_to:0
msgid "Membership End Date"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,membership_date_from:0
msgid "Membership Start Date"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,message_ids:0
msgid "Messages"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,message_ids:0
msgid "Messages and communication history"
msgstr ""
#. module: golem_activity_session
@ -202,7 +443,7 @@ msgid "Minimum places to maintain the session"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:119
#: code:addons/golem_activity_session/models/golem_activity_session.py:151
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Monday"
@ -210,9 +451,15 @@ msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,name:0
#: field:golem.activity.session,session_name:0
msgid "Name"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,weight_net:0
msgid "Net Weight"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
#: field:golem.activity.session,note:0
@ -220,13 +467,13 @@ msgid "Note"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:183
#: code:addons/golem_activity_session/models/golem_activity_session.py:215
#, python-format
msgid "Number of places cannot be negative."
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:186
#: code:addons/golem_activity_session/models/golem_activity_session.py:218
#, python-format
msgid "Overbooked places cannot be inferior than places"
msgstr ""
@ -246,6 +493,61 @@ msgstr ""
msgid "Places with overbook"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,price:0
msgid "Price"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,pricelist_id:0
msgid "Pricelist"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,attribute_line_ids:0
msgid "Product Attributes"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,product_manager:0
msgid "Product Manager"
msgstr ""
#. module: golem_activity_session
#: model:ir.model,name:golem_activity_session.model_product_template
msgid "Product Template"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,type:0
msgid "Product Type"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,product_id:0
msgid "Product id"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,product_variant_ids:0
msgid "Products"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,lst_price:0
msgid "Public Price"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,description_purchase:0
msgid "Purchase Description"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,uom_po_id:0
msgid "Purchase Unit of Measure"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.session_tree
msgid "Remain"
@ -257,7 +559,17 @@ msgid "Remaining places"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:124
#: field:golem.activity.session,description_sale:0
msgid "Sale Description"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,list_price:0
msgid "Sale Price"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:156
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Saturday"
@ -270,7 +582,22 @@ msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,categ_id:0
msgid "Select category for the current product"
msgid "Select category for the current activity"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Service"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Session"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "Session Name"
msgstr ""
#. module: golem_activity_session
@ -280,30 +607,50 @@ msgid "Sessions"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:166
#: field:golem.activity.session,image_small:0
msgid "Small-sized image"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,image_small:0
msgid "Small-sized image of the product. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required."
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:198
#, python-format
msgid "Sorry, there is no more place !"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,uos_id:0
msgid "Specify a unit of measure here if invoicing is made in another unit of measure than inventory. Keep empty to use the default unit of measure."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,sale_ok:0
msgid "Specify if the product can be selected in a sales order line."
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,date_start:0
msgid "Start date"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:141
#: code:addons/golem_activity_session/models/golem_activity_session.py:173
#, python-format
msgid "Start of the period cannot be after end of the period."
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:107
#: code:addons/golem_activity_session/models/golem_activity_session.py:139
#, python-format
msgid "Start of the session cannot be after end of the session."
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:111
#: code:addons/golem_activity_session/models/golem_activity_session.py:143
#, python-format
msgid "Start of the session cannot be before the start of activity date"
msgstr ""
@ -314,28 +661,128 @@ msgid "Start time"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:125
#: field:golem.activity.session,state:0
msgid "Status"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,message_summary:0
msgid "Summary"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:157
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Sunday"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:122
#: field:golem.activity.session,seller_ids:0
msgid "Supplier"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,seller_delay:0
msgid "Supplier Lead Time"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,seller_qty:0
msgid "Supplier Quantity"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,supplier_taxes_id:0
msgid "Supplier Taxes"
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,weight:0
msgid "The gross weight in Kg."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,weight_net:0
msgid "The net weight in Kg."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,volume:0
msgid "The volume in m3."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,property_account_expense:0
msgid "This account will be used for invoices instead of the default one to value expenses for the current product."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,property_account_income:0
msgid "This account will be used for invoices instead of the default one to value sales for the current product."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,image:0
msgid "This field holds the image used as image for the activity."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,seller_qty:0
msgid "This is minimum quantity to purchase from Main Supplier."
msgstr ""
#. module: golem_activity_session
#: help:golem.activity.session,seller_delay:0
msgid "This is the average delay in days between the purchase order confirmation and the receipts for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:154
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Thursday"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:120
#: code:addons/golem_activity_session/models/golem_activity_session.py:152
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Tuesday"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:121
#: field:golem.activity.session,uom_id:0
msgid "Unit of Measure"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,uos_coeff:0
msgid "Unit of Measure -> UOS Coeff"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,uos_id:0
msgid "Unit of Sale"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,message_unread:0
msgid "Unread Messages"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,volume:0
msgid "Volume"
msgstr ""
#. module: golem_activity_session
#: field:golem.activity.session,warranty:0
msgid "Warranty"
msgstr ""
#. module: golem_activity_session
#: code:addons/golem_activity_session/models/golem_activity_session.py:153
#: selection:golem.activity.session,weekday:0
#, python-format
msgid "Wednesday"
@ -351,3 +798,8 @@ msgstr ""
msgid "Work in progress"
msgstr ""
#. module: golem_activity_session
#: view:golem.activity.session:golem_activity_session.view_form
msgid "describe the activity characteristics..."
msgstr ""

View File

@ -49,16 +49,44 @@ class GolemActivity(models.Model):
'domain': [('activity_id', '=', self.id)]}
class ProductTemplate(models.Model):
_inherit = 'product.template'
# Make default service for type
type = fields.Selection(default='service')
class GolemActivitySession(models.Model):
_name = 'golem.activity.session'
_description = 'GOLEM Activities Sessions'
_inherit = 'mail.thread'
_inherits = {'product.template': 'product_id'}
name = fields.Char('Name', compute='_compute_name')
product_id = fields.Many2one('product.template', required=True,
ondelete='cascade')
default_code = fields.Char(copy=True) # Copy the default code
@api.depends('activity_id')
def _compute_name(self):
@api.model
def _default_name(self):
""" Default name to activity name """
d_aid = self.env.context.get('default_activity_id')
aobj = self.env['golem.activity']
return aobj.browse([d_aid]).name if d_aid else None
image = fields.Binary(related='activity_id.image')
categ_id = fields.Many2one(related='activity_id.categ_id', readonly=True)
session_name = fields.Char('Name', compute='_compute_full_name',
store=True, index=True)
@api.depends('name', 'default_code')
def _compute_full_name(self):
""" Provide a better displayed name """
for s in self:
s.name = s.activity_id.activity_name
session_name = unicode(s.name)
if s.default_code:
session_name = u'[{}] {}'.format(s.default_code, session_name)
s.session_name = session_name
member_ids = fields.Many2many('golem.member', string='Members')
places_used = fields.Integer('Places used', compute='_compute_places_used')
@ -71,8 +99,7 @@ class GolemActivitySession(models.Model):
# TODO: to link with calendar.event
activity_id = fields.Many2one('golem.activity', string='Activity',
required=True)
categ_id = fields.Many2one(string='Category',
related='activity_id.product_id.categ_id')
animator_id = fields.Many2one('res.partner', string='Animator')
is_current = fields.Boolean('Current season?',
related='activity_id.is_current')
@ -81,7 +108,10 @@ class GolemActivitySession(models.Model):
@api.onchange('activity_id')
def onchange_activity_id(self):
""" Sets session name and animator as activity's one if empty """
for s in self:
if not s.name:
s.name = s.activity_id.name
if not s.animator_id:
s.animator_id = s.activity_id.animator_id

View File

@ -40,7 +40,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="arch" type="xml">
<form>
<sheet>
<group string="Activity Session">
<div class="oe_title" style="width: 390px;">
<label class="oe_edit_only" for="name" string="Session Name"/>
<h1><field name="name" class="oe_inline"/></h1>
</div>
<group string="Session">
<group>
<field name="activity_id" />
<field name="animator_id" />
@ -71,11 +75,30 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="member_ids" />
</group>
</page>
<page string="Service">
<group>
<group>
<field name="default_code" />
<field name="list_price" />
<field name="description"
placeholder="describe the activity characteristics..."/>
</group>
<group>
<field name="type" />
<field name="categ_id" />
<field name="active" />
</group>
</group>
</page>
<page string="Note">
<field name="note" />
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" />
<field name="message_ids" widget="mail_thread" />
</div>
</form>
</field>
</record>
@ -90,18 +113,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
orange: places_remain &lt;= 4;">
<field name="is_recurrent" invisible="True" />
<field name="season_id" />
<field name="activity_id" />
<field name="session_name" />
<field name="animator_id" />
<field name="weekday" string="Day"
attrs="{'invisible': [('is_recurrent', '=', False)]}" />
<field name="hour_start" string="Hour"
attrs="{'invisible': [('is_recurrent', '=', False)]}" />
<field name="date_start" string="Date"
attrs="{'invisible': [('is_recurrent', '=', True)]}" />
<field name="places" />
<field name="places_min" string="Min." />
<field name="places" invisible="True" />
<field name="places_remain" string="Remain" />
<field name="places_used" invisible="True" />
<field name="places_min" invislbe="True" />
</tree>
</field>
</record>
@ -124,11 +145,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="model">golem.activity.session</field>
<field name="arch" type="xml">
<search>
<field name="session_name" />
<field name="activity_id" widget="many2one" />
<field name="animator_id" widget="many2one" />
<field name="categ_id" widget="many2one" />
<field name="season_id" widget="many2one" />
<filter name="season_default" string="Default season"
domain="[('is_current', '=', True)]" />
<group string="Group By">
<filter name="group_category" string="By category"
context="{'group_by': 'categ_id'}"/>
<filter name="group_weekday" string="By weekday"
context="{'group_by': 'weekday'}" />
<filter name="group_animator" string="By animator"
@ -139,14 +165,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>
<!-- Actions -->
<act_window id="session_action_list" name="GOLEM Activities Sessions List"
res_model="golem.activity.session" view_mode="tree,form,calendar"
context="{'search_default_season_default': True}" />
/>
<record id="session_action_list" model="ir.actions.act_window">
<field name="name">GOLEM Activities Sessions List</field>
<field name="res_model">golem.activity.session</field>
<field name="view_mode">kanban,tree,form,calendar</field>
<field name="view_id" ref="product.product_template_kanban_view"/>
</record>
<record id="category_action" model="ir.actions.act_window">
<field name="name">Activities Categories</field>
<field name="res_model">product.category</field>
<field name="view_type">form</field>
<field name="view_id" ref="product.product_category_list_view" />
</record>
<!-- Menus -->
<menuitem id="session_menu_list" name="Activities sessions"
parent="golem_activity.activity_menu" action="session_action_list"
sequence="10" />
<menuitem id="activity_categ" name="Categories"
parent="golem_activity.activity_menu" sequence="10"
action="category_action" />
</data>