You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[REF] *: change linked to server revision 4907. Removed deprecated 'view_load' attribute + removed duplicated first argument of property fields which is replaced with 'relation' argument in case where it is really needed (relational fields): indeed this first argument was totally useless for property of float type (for example).
'debit': fields.function(_credit_debit_get, fnct_search=_debit_search, string='Total Payable', multi='dc', help="Total amount you have to pay to this supplier."),
190
190
'debit_limit': fields.float('Payable Limit'),
191
191
'property_account_payable': fields.property(
192
-
'account.account',
193
192
type='many2one',
194
193
relation='account.account',
195
194
string="Account Payable",
196
-
view_load=True,
197
195
domain="[('type', '=', 'payable')]",
198
196
help="This account will be used instead of the default one as the payable account for the current partner",
199
197
required=True),
200
198
'property_account_receivable': fields.property(
201
-
'account.account',
202
199
type='many2one',
203
200
relation='account.account',
204
201
string="Account Receivable",
205
-
view_load=True,
206
202
domain="[('type', '=', 'receivable')]",
207
203
help="This account will be used instead of the default one as the receivable account for the current partner",
208
204
required=True),
209
205
'property_account_position': fields.property(
210
-
'account.fiscal.position',
211
206
type='many2one',
212
207
relation='account.fiscal.position',
213
208
string="Fiscal Position",
214
-
view_load=True,
215
209
help="The fiscal position will determine taxes and accounts used for the partner.",
216
210
),
217
211
'property_payment_term': fields.property(
218
-
'account.payment.term',
219
212
type='many2one',
220
213
relation='account.payment.term',
221
214
string='Customer Payment Term',
222
-
view_load=True,
223
215
help="This payment term will be used instead of the default one for sale orders and customer invoices"),
Copy file name to clipboardexpand all lines: addons/product/product.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -321,7 +321,7 @@ class product_template(osv.osv):
321
321
'uom_id': fields.many2one('product.uom', 'Unit of Measure', required=True, help="Default Unit of Measure used for all stock operation."),
322
322
'uom_po_id': fields.many2one('product.uom', 'Purchase Unit of Measure', required=True, help="Default Unit of Measure used for purchase orders. It must be in the same category than the default unit of measure."),
323
323
'uos_id' : fields.many2one('product.uom', 'Unit of Sale',
324
-
help='Sepcify 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.'),
324
+
help='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.'),
325
325
'uos_coeff': fields.float('Unit of Measure -> UOS Coeff', digits_compute=dp.get_precision('Product UoS'),
326
326
help='Coefficient to convert default Unit of Measure to Unit of Sale\n'
help="When doing real-time inventory valuation, counterpart journal items for all outgoing stock moves will be posted in this account, unless "
512
508
"there is a specific valuation account set on the destination location. When not set on the product, the one from the product category is used."),
513
509
'sale_delay': fields.float('Customer Lead Time', help="The average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."),
@@ -524,27 +520,29 @@ class product_category(osv.osv):
help="When doing real-time inventory valuation, this is the Accounting Journal in which entries will be automatically posted when stock moves are processed."),
0 commit comments